aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-gtk-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-01-03 05:32:14 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-03 05:32:14 +0800
commit64ea8d10a87fe73f712963104909f4897b0c4f11 (patch)
tree1bd873666afef36347bc10b6f9eed57758e68549 /e-util/e-gtk-utils.c
parent84c85d8eb70ca06ba9c608a83d1de6c814433c85 (diff)
downloadgsoc2013-evolution-64ea8d10a87fe73f712963104909f4897b0c4f11.tar.gz
gsoc2013-evolution-64ea8d10a87fe73f712963104909f4897b0c4f11.tar.zst
gsoc2013-evolution-64ea8d10a87fe73f712963104909f4897b0c4f11.zip
A bunch of fixes to make e-util build with -DG_DISABLE_DEPRECATED and
2003-01-02 Jeffrey Stedfast <fejj@ximian.com> A bunch of fixes to make e-util build with -DG_DISABLE_DEPRECATED and -DGTK_DISABLE_DEPRECATED. svn path=/trunk/; revision=19210
Diffstat (limited to 'e-util/e-gtk-utils.c')
-rw-r--r--e-util/e-gtk-utils.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/e-util/e-gtk-utils.c b/e-util/e-gtk-utils.c
index 1f5aefe3ca..9b9c7f99b7 100644
--- a/e-util/e-gtk-utils.c
+++ b/e-util/e-gtk-utils.c
@@ -71,10 +71,10 @@ alive_disconnecter (GtkObject *object,
DisconnectInfo *info)
{
g_assert (info != NULL);
-
- gtk_signal_disconnect (info->object1, info->disconnect_handler1);
- gtk_signal_disconnect (info->object1, info->signal_handler);
- gtk_signal_disconnect (info->object2, info->disconnect_handler2);
+
+ g_signal_handler_disconnect (info->object1, info->disconnect_handler1);
+ g_signal_handler_disconnect (info->object1, info->signal_handler);
+ g_signal_handler_disconnect (info->object2, info->disconnect_handler2);
g_free (info);
@@ -122,12 +122,12 @@ e_signal_connect_full_while_alive (void *instance,
instance_signal, after);
info->object1 = instance;
- info->disconnect_handler1 = gtk_signal_connect (instance, "destroy",
- GTK_SIGNAL_FUNC (alive_disconnecter), info);
+ info->disconnect_handler1 = g_signal_connect (instance, "destroy",
+ G_CALLBACK (alive_disconnecter), info);
info->object2 = alive_instance;
- info->disconnect_handler2 = gtk_signal_connect (alive_instance, "destroy",
- GTK_SIGNAL_FUNC (alive_disconnecter), info);
+ info->disconnect_handler2 = g_signal_connect (alive_instance, "destroy",
+ G_CALLBACK (alive_disconnecter), info);
}
@@ -165,6 +165,5 @@ widget_realize_callback_for_backing_store (GtkWidget *widget,
void
e_make_widget_backing_stored (GtkWidget *widget)
{
- gtk_signal_connect (GTK_OBJECT (widget), "realize",
- GTK_SIGNAL_FUNC (widget_realize_callback_for_backing_store), NULL);
+ g_signal_connect (widget, "realize", G_CALLBACK (widget_realize_callback_for_backing_store), NULL);
}