Send commitlog mailing list submissions to
commitlog@lists.openmoko.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
commitlog-requ...@lists.openmoko.org
You can reach the person managing the list at
commitlog-ow...@lists.openmoko.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:
1. r5853 - trunk/eda/fped (wer...@docs.openmoko.org)
--- Begin Message ---
Author: werner
Date: 2010-03-16 13:37:14 +0100 (Tue, 16 Mar 2010)
New Revision: 5853
Modified:
trunk/eda/fped/gui_util.c
Log:
Make fped build with older versions of Gtl.
- gui_util.c: gtk_widget_get_snapshot is only available since Gtk version 2.14.
Omit debug_save_widget if using an older version of Gtk. (Reported by Igor
Almeida.)
Modified: trunk/eda/fped/gui_util.c
===================================================================
--- trunk/eda/fped/gui_util.c 2010-02-23 19:28:34 UTC (rev 5852)
+++ trunk/eda/fped/gui_util.c 2010-03-16 12:37:14 UTC (rev 5853)
@@ -358,6 +358,8 @@
* the widget being dumped.
*/
+#if GTK_CHECK_VERSION(2, 14, 0)
+
void debug_save_widget(GtkWidget *widget)
{
GdkPixmap *pixmap;
@@ -373,7 +375,9 @@
g_object_unref(pixbuf);
}
+#endif /* GTK_CHECK_VERSION(2, 14, 0) */
+
/* ----- kill the content of a container ----------------------------------- */
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog