From: Sven Neumann Date: Wed, 1 Aug 2001 12:14:12 +0000 (+0000) Subject: added convenience macro g_signal_connect_after(). X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=57c5a11d7b8f4916b82fb4bd20c25ddbb0193df9;p=dana%2Fcg-glib.git added convenience macro g_signal_connect_after(). 2001-08-01 Sven Neumann * gsignal.h: added convenience macro g_signal_connect_after(). --- diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 3d6f8616..6a0beb7c 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,7 @@ +2001-08-01 Sven Neumann + + * gsignal.h: added convenience macro g_signal_connect_after(). + 2001-07-29 Hans Breuer * gobject.def : updated externals diff --git a/gobject/gsignal.h b/gobject/gsignal.h index 51d3ba4f..82a5d617 100644 --- a/gobject/gsignal.h +++ b/gobject/gsignal.h @@ -226,6 +226,8 @@ guint g_signal_handlers_disconnect_matched (gpointer instance, /* --- convenience --- */ #define g_signal_connect(instance, detailed_signal, c_handler, data) \ g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, 0) +#define g_signal_connect_after(instance, detailed_signal, c_handler, data) \ + g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_AFTER) #define g_signal_connect_swapped(instance, detailed_signal, c_handler, data) \ g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_SWAPPED) #define g_signal_handlers_disconnect_by_func(instance, func, data) \