diff options
author | Lucas Rocha <lucasr@gnome.org> | 2009-03-08 22:34:50 +0000 |
---|---|---|
committer | Lucas Almeida Rocha <lucasr@src.gnome.org> | 2009-03-08 22:34:50 +0000 |
commit | 278a669eaf7f2621fa547d5028911912e68408b0 (patch) | |
tree | 96a17d72f327c0b0a3fe05a5aeba2c21c53937f5 | |
parent | replace deprecated GTK+ calls (fixes bug #571869). Patch from Felix (diff) | |
download | zenity-278a669eaf7f2621fa547d5028911912e68408b0.tar.gz zenity-278a669eaf7f2621fa547d5028911912e68408b0.tar.bz2 zenity-278a669eaf7f2621fa547d5028911912e68408b0.zip |
disable monk easter egg in order to remove gnome-canvas dependency (Fixes
2009-03-08 Lucas Rocha <lucasr@gnome.org>
* configure.in, src/about.c: disable monk easter egg in order to
remove gnome-canvas dependency (Fixes #571741).
svn path=/trunk/; revision=1489
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | src/about.c | 6 |
3 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2009-03-08 Lucas Rocha <lucasr@gnome.org> + * configure.in, src/about.c: disable monk easter egg in order to + remove gnome-canvas dependency (Fixes #571741). + +2009-03-08 Lucas Rocha <lucasr@gnome.org> + * configure.in, src/notification.c: replace deprecated GTK+ calls (fixes bug #571869). Patch from Felix Riemann <friemann@svn.gnome.org>. diff --git a/configure.in b/configure.in index 7771a7ec..e9f10922 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_PROG_CC GTK_REQUIRED=2.15.1 -PKG_CHECK_MODULES([ZENITY],[gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 libgnomecanvas-2.0 glib-2.0]) +PKG_CHECK_MODULES([ZENITY],[gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 glib-2.0]) AC_SUBST([ZENITY_CFLAGS]) AC_SUBST([ZENITY_LIBS]) 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 <string.h> #include <gdk/gdkkeysyms.h> -#include <libgnomecanvas/libgnomecanvas.h> #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 (); |