void-packages/templates/sylpheed-fix-latest-gtk.diff
Juan RP 49cdd3c7a9 sylpheed: add a patch to build with latest GTK+.
I will submit it upstream later...

--HG--
extra : convert_revision : 6c604ee67c9a5ae29c3c69495996b51d1b0a7cd0
2008-10-08 20:09:59 +02:00

67 lines
1.9 KiB
Diff

--- src/prefs_display_items.c.orig 2008-10-08 20:02:35.000000000 +0200
+++ src/prefs_display_items.c 2008-10-08 20:03:54.000000000 +0200
@@ -26,13 +26,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkmain.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkclist.h>
-#include <gtk/gtkbutton.h>
-#include <gtk/gtkstock.h>
+#include <gtk/gtk.h>
#include "prefs.h"
#include "prefs_ui.h"
--- src/prefs_summary_column.c.orig 2008-10-08 20:04:41.000000000 +0200
+++ src/prefs_summary_column.c 2008-10-08 20:04:53.000000000 +0200
@@ -26,13 +26,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkmain.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkclist.h>
-#include <gtk/gtkbutton.h>
-#include <gtk/gtkstock.h>
+#include <gtk/gtk.h>
#include "prefs.h"
#include "prefs_ui.h"
--- src/addr_compl.c.orig 2008-10-08 20:05:25.000000000 +0200
+++ src/addr_compl.c 2008-10-08 20:05:37.000000000 +0200
@@ -26,12 +26,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkmain.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtkeditable.h>
-#include <gtk/gtkclist.h>
-#include <gtk/gtkscrolledwindow.h>
+#include <gtk/gtk.h>
#include <string.h>
#include <ctype.h>
--- src/editgroup.c.orig 2008-10-08 20:06:05.000000000 +0200
+++ src/editgroup.c 2008-10-08 20:06:17.000000000 +0200
@@ -26,13 +26,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkclist.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkstatusbar.h>
-#include <gtk/gtktable.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtkstock.h>
+#include <gtk/gtk.h>
#include "addressbook.h"
#include "addressitem.h"