Revision: 1778
http://geeqie.svn.sourceforge.net/geeqie/?rev=1778&view=rev
Author: nadvornik
Date: 2009-06-28 11:55:54 +0000 (Sun, 28 Jun 2009)
Log Message:
-----------
libchamplain compatibility fix
Modified Paths:
--------------
trunk/src/bar_gps.c
Modified: trunk/src/bar_gps.c
===================================================================
--- trunk/src/bar_gps.c 2009-06-28 09:25:47 UTC (rev 1777)
+++ trunk/src/bar_gps.c 2009-06-28 11:55:54 UTC (rev 1778)
@@ -693,9 +693,13 @@
scrolled = gtk_scrolled_window_new(NULL, NULL);
vbox = gtk_vbox_new(FALSE, 0);
+#ifdef GTK_CHAMPLAIN_EMBED
gpswidget = gtk_champlain_embed_new ();
view = gtk_champlain_embed_get_view (GTK_CHAMPLAIN_EMBED (gpswidget));
-
+#else
+ view = champlain_view_new();
+ gpswidget = champlain_view_embed_new(CHAMPLAIN_VIEW(view));
+#endif
viewport = gtk_viewport_new(NULL, NULL);
gtk_container_add(GTK_CONTAINER(viewport), gpswidget);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn