]> err.no Git - mapper/commitdiff
misc
authorKaj-Michael Lang <milang@tal.org>
Wed, 11 Jun 2008 19:20:48 +0000 (22:20 +0300)
committerKaj-Michael Lang <milang@tal.org>
Wed, 11 Jun 2008 19:20:48 +0000 (22:20 +0300)
src/settings-gui.c

index 37ef52cb43581b95de1f04df4199ddab5b84bfd7..d7faaa4c47550a97d9819e24e7c2983936a6e63e 100644 (file)
@@ -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);
 }