diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-01-01 23:45:33 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-01-01 23:46:17 -0600 |
commit | bf4727e8be20b37f6405367f972a94527c9f088f (patch) | |
tree | 32efb707d2d60704d01ec2cb44bd7e865784e90d /desktop/gtk-chtheme/gtk-chtheme-0.3.1-new-api.patch | |
parent | c1906f2648779dcf40dbf879b765a1c5fa136646 (diff) |
desktop/gtk-chtheme: Fixed build error with new gtk+2 ; misc cleanup
This adds a patch to use modern gtk+2 API as well as using
RPM_OPT_FLAGS to use our SLKCFLAGS instead of having to sed
the Makefile. The other changes are aesthetic only :)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/gtk-chtheme/gtk-chtheme-0.3.1-new-api.patch')
-rw-r--r-- | desktop/gtk-chtheme/gtk-chtheme-0.3.1-new-api.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/gtk-chtheme/gtk-chtheme-0.3.1-new-api.patch b/desktop/gtk-chtheme/gtk-chtheme-0.3.1-new-api.patch new file mode 100644 index 0000000000000..95ea07265f750 --- /dev/null +++ b/desktop/gtk-chtheme/gtk-chtheme-0.3.1-new-api.patch @@ -0,0 +1,14 @@ +Thanks to Fedora for the (simple) patch :) + +--- gtk-chtheme-0.3.1/util.c~ 2004-02-08 14:42:33.000000000 +0100 ++++ gtk-chtheme-0.3.1/util.c 2010-07-14 10:40:18.000000000 +0200 +@@ -19,7 +19,8 @@ + + GtkWidget* unfocussable(GtkWidget *w) + { +- GTK_WIDGET_UNSET_FLAGS(w, GTK_CAN_FOCUS); ++ /* GTK_WIDGET_UNSET_FLAGS(w, GTK_CAN_FOCUS); */ ++ gtk_widget_set_can_focus(w, FALSE); + return w; + } + |