From: Kaj-Michael Lang Date: Wed, 11 Jun 2008 19:20:48 +0000 (+0300) Subject: misc X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50a9a2cb88e64296ea91f312ae8c8fdd3bd1d0ef;p=mapper misc --- diff --git a/src/settings-gui.c b/src/settings-gui.c index 37ef52c..d7faaa4 100644 --- a/src/settings-gui.c +++ b/src/settings-gui.c @@ -67,7 +67,7 @@ for (i=0; i < COLORABLE_ENUM_COUNT; i++) { gdk_color_alloc(gtk_widget_get_colormap(_map_widget),&_color[i]); if (_gc[i]) g_object_unref(_gc[i]); - _gc[i]=gdk_gc_new(map_pixmap_get()); + _gc[i]=gdk_gc_new(gtk_map_pixmap_get()); gdk_gc_set_foreground(_gc[i], &_color[i]); gdk_gc_set_line_attributes(_gc[i], _draw_width, GDK_LINE_SOLID, GDK_CAP_ROUND, GDK_JOIN_ROUND); }