summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--geyes/src/geyes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/geyes/src/geyes.c b/geyes/src/geyes.c
index b1d0177f..27fbdfed 100644
--- a/geyes/src/geyes.c
+++ b/geyes/src/geyes.c
@@ -291,7 +291,7 @@ create_eyes (MatePanelApplet *applet)
}
static void
-dispose_cb (GObject *object, EyesApplet *eyes_applet)
+destroy_cb (GObject *object, EyesApplet *eyes_applet)
{
g_return_if_fail (eyes_applet);
@@ -421,8 +421,8 @@ geyes_applet_fill (MatePanelApplet *applet)
_("The eyes look in the direction of the mouse pointer"));
g_signal_connect (eyes_applet->vbox,
- "dispose",
- G_CALLBACK (dispose_cb),
+ "destroy",
+ G_CALLBACK (destroy_cb),
eyes_applet);
gtk_widget_show_all (GTK_WIDGET (eyes_applet->applet));