summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--geyes/geyes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/geyes/geyes.c b/geyes/geyes.c
index 035d7275..ad1997ed 100644
--- a/geyes/geyes.c
+++ b/geyes/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);
@@ -422,8 +422,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));