diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-02 00:29:16 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-02 00:29:16 +0000 |
commit | 3be02a9acbeb006d9a9e6136c54d91064cc7d80e (patch) | |
tree | ade247e1b6c47fbd7362273f59d3ae4f955587a7 /community/gnote | |
parent | 40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (diff) |
Mon May 2 00:29:22 UTC 2011
Diffstat (limited to 'community/gnote')
-rw-r--r-- | community/gnote/gtk2.20.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/community/gnote/gtk2.20.patch b/community/gnote/gtk2.20.patch deleted file mode 100644 index 13b3ee1a9..000000000 --- a/community/gnote/gtk2.20.patch +++ /dev/null @@ -1,40 +0,0 @@ -From b2e62adb1ed94f9a3f681bd6d0b8117b2ec3c1f9 Mon Sep 17 00:00:00 2001 -From: Debarshi Ray <debarshir@src.gnome.org> -Date: Sun, 14 Mar 2010 21:24:21 +0000 -Subject: Replaced deprecated macros -- GTK_WIDGET_REALIZED & GTK_WIDGET_VISIBLE - -These macros have been deprecated since Gtk+ 2.20, and their -replacements were introduced in Gtk+ 2.18. Thus, the minimum Gtk+ -version has been bumped accordingly. ---- -diff --git a/configure.ac b/configure.ac -index 564c0b0..0189b88 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -23,7 +23,7 @@ AC_SUBST(GNOTE_VERSION) - dnl all the library version. - dnl if one is harcoded elsewhere, it is a bug - --GTK_VERSION=2.12 -+GTK_VERSION=2.18 - LIBGLIBMM_VERSION=2.0 - LIBGTKMM_VERSION=2.12.0 - LIBGCONF_VERSION=2.0.0 -diff --git a/libtomboy/tomboyutil.c b/libtomboy/tomboyutil.c -index 162e4a2..9de7e62 100644 ---- a/libtomboy/tomboyutil.c -+++ b/libtomboy/tomboyutil.c -@@ -153,9 +153,9 @@ tomboy_window_override_user_time (GtkWindow *window) - void - tomboy_window_present_hardcore (GtkWindow *window) - { -- if (!GTK_WIDGET_REALIZED (window)) -+ if (!gtk_widget_get_realized (GTK_WIDGET (window))) - gtk_widget_realize (GTK_WIDGET (window)); -- else if (GTK_WIDGET_VISIBLE (window)) -+ else if (gtk_widget_get_visible (GTK_WIDGET (window))) - tomboy_window_move_to_current_workspace (window); - - tomboy_window_override_user_time (window); --- -cgit v0.8.3.1 |