From 278a669eaf7f2621fa547d5028911912e68408b0 Mon Sep 17 00:00:00 2001 From: Lucas Rocha Date: Sun, 8 Mar 2009 22:34:50 +0000 Subject: disable monk easter egg in order to remove gnome-canvas dependency (Fixes 2009-03-08 Lucas Rocha * configure.in, src/about.c: disable monk easter egg in order to remove gnome-canvas dependency (Fixes #571741). svn path=/trunk/; revision=1489 --- src/about.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/about.c b/src/about.c index 434b7bb9..b8f1fc06 100644 --- a/src/about.c +++ b/src/about.c @@ -29,7 +29,6 @@ #include "util.h" #include #include -#include #define GTK_RESPONSE_CREDITS 0 #define ZENITY_HELP_PATH ZENITY_DATADIR "/help/" @@ -75,6 +74,7 @@ static const char *license[] = { "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.") }; +#if 0 static gint zenity_move_clothes_event (GnomeCanvasItem *item, GdkEvent *event, @@ -252,6 +252,7 @@ zenity_zen_wisdom (GtkDialog *dialog, GdkEventKey *event, gpointer user_data) return FALSE; } +#endif void zenity_about (ZenityData *data) @@ -301,8 +302,11 @@ zenity_about (ZenityData *data) g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (zenity_about_dialog_response), data); + +#if 0 g_signal_connect (G_OBJECT (dialog), "key_press_event", G_CALLBACK (zenity_zen_wisdom), NULL); +#endif zenity_util_show_dialog (dialog); gtk_main (); -- cgit