1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 99_fix_implicit_declaration.dpatch by Fabrice Coutadeur <fabricesp@ubuntu.com>
4
## Origin: http://lists.opensuse.org/opensuse-commit/2009-07/msg00981.html
5
## Description: Fix "implicitly converted to pointer at ignoregui.c:192" error.
6
## This fixes a FTBFS in ia64 and amd64
9
diff -urNad xchat-2.8.6~/src/fe-gtk/ignoregui.c xchat-2.8.6/src/fe-gtk/ignoregui.c
10
--- xchat-2.8.6~/src/fe-gtk/ignoregui.c 2010-01-15 19:15:11.193846344 +0000
11
+++ xchat-2.8.6/src/fe-gtk/ignoregui.c 2010-01-15 19:18:24.222593849 +0000
13
#include <gtk/gtkliststore.h>
14
#include <gtk/gtktreeview.h>
15
#include <gtk/gtktreeselection.h>
16
+#include <gtk/gtkcelllayout.h>
17
#include <gtk/gtkcellrenderertext.h>
18
#include <gtk/gtkcellrenderertoggle.h>
21
for (col_id=0; (col = gtk_tree_view_get_column (GTK_TREE_VIEW (view), col_id));
24
- GList *list = gtk_tree_view_column_get_cell_renderers (col);
25
+ GList *list = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (col));
28
for (tmp = list; tmp; tmp = tmp->next)