Commit e6c055a1 authored by Michael Natterer's avatar Michael Natterer 😴

libgimp: remove GdkRGB and GdkColorMap calls, these APIs are gone

parent 4ae7d4c8
......@@ -49,9 +49,7 @@
* @title: gimpui
* @short_description: Common user interface functions. This header includes
* all other GIMP User Interface Library headers.
* @see_also: gtk_init(), gdk_set_use_xshm(), gdk_rgb_get_visual(),
* gdk_rgb_get_cmap(), gtk_widget_set_default_visual(),
* gtk_widget_set_default_colormap(), gtk_preview_set_gamma().
* @see_also: gtk_init(), gdk_set_use_xshm(), gtk_widget_set_default_visual().
*
* Common user interface functions. This header includes all other
* GIMP User Interface Library headers.
......@@ -109,7 +107,6 @@ void
gimp_ui_init (const gchar *prog_name,
gboolean preview)
{
GdkScreen *screen;
const gchar *display_name;
gchar *themerc;
GFileMonitor *rc_monitor;
......@@ -161,9 +158,6 @@ gimp_ui_init (const gchar *prog_name,
gdk_set_program_class (gimp_wm_class ());
screen = gdk_screen_get_default ();
gtk_widget_set_default_colormap (gdk_screen_get_rgb_colormap (screen));
file = g_file_new_for_path (gimp_get_icon_theme_dir ());
gimp_icons_set_icon_theme (file);
g_object_unref (file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment