1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Fix the build with new glib 2.16.

Reported by:	pointyhat via pav
This commit is contained in:
Jeremy Messenger 2008-03-26 21:42:38 +00:00
parent efa2e925c9
commit 4b09586b44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209901

View File

@ -0,0 +1,11 @@
--- driver/demo-Gtk.c.orig 2008-03-26 16:35:44.000000000 -0500
+++ driver/demo-Gtk.c 2008-03-26 16:36:14.000000000 -0500
@@ -1085,7 +1085,7 @@
if (!was) gtk_widget_set_sensitive (parent, True);
#ifdef HAVE_GTK2
model = gtk_tree_view_get_model (GTK_TREE_VIEW (list));
- STFU g_assert (model);
+ g_assert (model != NULL);
if (gtk_tree_model_iter_nth_child (model, &iter, NULL, list_elt))
{
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (list));