diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-06-20 23:59:27 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-06-20 23:59:27 +0000 |
commit | 28c2b0a31f3f688cec4960063de37df004ad0112 (patch) | |
tree | 36479c79602df24f0bf3f6dbc9dbb7c4b6587eb3 /gdk/gdkrgb.c | |
parent | 5830bf89b5bb3eb48fa84ed690a726be3a82e129 (diff) | |
download | gdk-pixbuf-28c2b0a31f3f688cec4960063de37df004ad0112.tar.gz |
Renames:
Thu Jun 20 19:41:09 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
tests/*.c: Renames:
gdk_get_default_display => gdk_display_get_default
gdk_get_default_screen => gdk_screen_get_default
gdk_open_display => gdk_display_open
Diffstat (limited to 'gdk/gdkrgb.c')
-rw-r--r-- | gdk/gdkrgb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c index 886858310..b5ae8587a 100644 --- a/gdk/gdkrgb.c +++ b/gdk/gdkrgb.c @@ -797,7 +797,7 @@ gdk_rgb_xpixel_from_rgb (guint32 rgb) guint32 g = rgb & 0xff00; guint32 b = rgb & 0xff; - return gdk_rgb_xpixel_from_rgb_internal (gdk_screen_get_rgb_colormap (gdk_get_default_screen ()), + return gdk_rgb_xpixel_from_rgb_internal (gdk_screen_get_rgb_colormap (gdk_screen_get_default ()), (r >> 8) + (r >> 16), g + (g >> 8), b + (b << 8)); } @@ -3476,7 +3476,7 @@ gdk_rgb_get_colormap (void) static GdkColormap *cmap = NULL; if (!cmap) { - GdkRgbInfo *image_info = gdk_rgb_create_info (gdk_rgb_choose_visual (gdk_get_default_screen ()), NULL); + GdkRgbInfo *image_info = gdk_rgb_create_info (gdk_rgb_choose_visual (gdk_screen_get_default ()), NULL); cmap = image_info->cmap; } @@ -3546,5 +3546,5 @@ gdk_screen_get_rgb_visual (GdkScreen *screen) GdkVisual * gdk_rgb_get_visual (void) { - return gdk_screen_get_rgb_visual (gdk_get_default_screen ()); + return gdk_screen_get_rgb_visual (gdk_screen_get_default ()); } |