summaryrefslogtreecommitdiff
path: root/gdk/gdkvisual.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/gdkvisual.c')
-rw-r--r--gdk/gdkvisual.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkvisual.c b/gdk/gdkvisual.c
index 3873ec115b..9ee4b1a173 100644
--- a/gdk/gdkvisual.c
+++ b/gdk/gdkvisual.c
@@ -40,7 +40,7 @@
GList*
gdk_list_visuals (void)
{
- return gdk_screen_list_visuals (gdk_get_default_screen ());
+ return gdk_screen_list_visuals (gdk_screen_get_default ());
}
/**
@@ -55,5 +55,5 @@ gdk_list_visuals (void)
GdkVisual*
gdk_visual_get_system (void)
{
- return gdk_screen_get_system_visual (gdk_get_default_screen());
+ return gdk_screen_get_system_visual (gdk_screen_get_default());
}