[gimp/gtk3-port: 26/130] libgimp: remove GdkRGB and GdkColorMap calls, these APIs are gone
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 26/130] libgimp: remove GdkRGB and GdkColorMap calls, these APIs are gone
- Date: Sun, 14 Nov 2010 22:05:24 +0000 (UTC)
commit d3a556a479b111913e8ea9f042ca4f86cdfac77c
Author: Michael Natterer <mitch gimp org>
Date: Fri Oct 15 12:22:11 2010 +0200
libgimp: remove GdkRGB and GdkColorMap calls, these APIs are gone
libgimp/gimpui.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/libgimp/gimpui.c b/libgimp/gimpui.c
index 066b63d..bbd0b4a 100644
--- a/libgimp/gimpui.c
+++ b/libgimp/gimpui.c
@@ -34,9 +34,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.
@@ -81,7 +79,6 @@ void
gimp_ui_init (const gchar *prog_name,
gboolean preview)
{
- GdkScreen *screen;
const gchar *display_name;
gchar *themerc;
@@ -122,9 +119,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));
-
gimp_widgets_init (gimp_ui_help_func,
gimp_context_get_foreground,
gimp_context_get_background,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]