[poppler] glib/demo

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Wed Jan 16 12:02:04 PST 2008


 glib/demo/info.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f7ed40c465033bad26dfda008c5984954baa0607
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Wed Jan 16 21:01:50 2008 +0100

    Add a cast to fix build

diff --git a/glib/demo/info.cc b/glib/demo/info.cc
index b0b121c..4176158 100644
--- a/glib/demo/info.cc
+++ b/glib/demo/info.cc
@@ -117,7 +117,8 @@ pgd_info_add_metadata (GtkTable    *table,
 	gtk_widget_show (textview);
 	
 	gtk_table_attach (GTK_TABLE (table), swindow, 1, 2, *row, *row + 1,
-			  GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
+			  (GtkAttachOptions)(GTK_EXPAND | GTK_FILL),
+			  (GtkAttachOptions)(GTK_EXPAND | GTK_FILL), 0, 0);
 	gtk_widget_show (swindow); 
 	
 	*row += 1;


More information about the poppler mailing list