diff options
author | Manish Singh <yosh@gimp.org> | 2002-10-11 22:57:11 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2002-10-11 22:57:11 +0000 |
commit | f18d5d35104bf4cb3998dfbee43f056649cb24b2 (patch) | |
tree | b72d6d51180d95a95e43749cc0840b1c52d1becc /gtk/gtkaccessible.c | |
parent | a9b71314ee7e770bd1f9b00c14212190f3ac1427 (diff) | |
download | gtk+-f18d5d35104bf4cb3998dfbee43f056649cb24b2.tar.gz |
Deprecation cleanup
Fri Oct 11 15:56:20 2002 Manish Singh <yosh@gimp.org>
* gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch]
gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch]
gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch]
gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation
cleanup
Diffstat (limited to 'gtk/gtkaccessible.c')
-rw-r--r-- | gtk/gtkaccessible.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/gtk/gtkaccessible.c b/gtk/gtkaccessible.c index 817fab77dd..0b48bca4e4 100644 --- a/gtk/gtkaccessible.c +++ b/gtk/gtkaccessible.c @@ -18,18 +18,18 @@ */ #include <string.h> -#include <gtk/gtkwidget.h> -#include <gtk/gtksignal.h> -#include <gtk/gtkaccessible.h> + +#include "gtkwidget.h" +#include "gtkaccessible.h" static void gtk_accessible_class_init (GtkAccessibleClass *klass); static void gtk_accessible_real_connect_widget_destroyed (GtkAccessible *accessible); -GtkType +GType gtk_accessible_get_type (void) { - static GtkType accessible_type = 0; + static GType accessible_type = 0; if (!accessible_type) { @@ -46,7 +46,9 @@ gtk_accessible_get_type (void) (GInstanceInitFunc) NULL, }; - accessible_type = g_type_register_static (ATK_TYPE_OBJECT, "GtkAccessible", &accessible_info, 0); + accessible_type = + g_type_register_static (ATK_TYPE_OBJECT, "GtkAccessible", + &accessible_info, 0); } return accessible_type; @@ -56,7 +58,6 @@ static void gtk_accessible_class_init (GtkAccessibleClass *klass) { klass->connect_widget_destroyed = gtk_accessible_real_connect_widget_destroyed; - } /** @@ -84,9 +85,9 @@ gtk_accessible_real_connect_widget_destroyed (GtkAccessible *accessible) { if (accessible->widget) { - gtk_signal_connect (GTK_OBJECT (accessible->widget), - "destroy", - GTK_SIGNAL_FUNC (gtk_widget_destroyed), - &accessible->widget); + g_signal_connect (accessible->widget, + "destroy", + G_CALLBACK (gtk_widget_destroyed), + &accessible->widget); } } |