[gimp/gtk3-port: 45/226] app: remove calls to colormap functions, they are gone



commit 8dc2ce3c653c9f20c87b0b5a6216a4c6b081627f
Author: Michael Natterer <mitch gimp org>
Date:   Tue Oct 19 17:50:03 2010 +0200

    app: remove calls to colormap functions, they are gone

 app/gui/gui.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/gui/gui.c b/app/gui/gui.c
index f0264c8..1bd7676 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -186,7 +186,6 @@ gui_init (Gimp     *gimp,
           gboolean  no_splash)
 {
   GimpInitStatusFunc  status_callback = NULL;
-  GdkScreen          *screen;
   gchar              *abort_message;
 
   g_return_val_if_fail (GIMP_IS_GIMP (gimp), NULL);
@@ -214,9 +213,6 @@ gui_init (Gimp     *gimp,
 
   themes_init (gimp);
 
-  screen = gdk_screen_get_default ();
-  gtk_widget_set_default_colormap (gdk_screen_get_rgb_colormap (screen));
-
   if (! no_splash)
     {
       splash_create (gimp->be_verbose);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]