summaryrefslogtreecommitdiff
path: root/tests/testmultidisplay.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-06-20 23:59:27 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-06-20 23:59:27 +0000
commit28c2b0a31f3f688cec4960063de37df004ad0112 (patch)
tree36479c79602df24f0bf3f6dbc9dbb7c4b6587eb3 /tests/testmultidisplay.c
parent5830bf89b5bb3eb48fa84ed690a726be3a82e129 (diff)
downloadgtk+-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 'tests/testmultidisplay.c')
-rw-r--r--tests/testmultidisplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testmultidisplay.c b/tests/testmultidisplay.c
index 92c434fab7..3ef9cfcfa5 100644
--- a/tests/testmultidisplay.c
+++ b/tests/testmultidisplay.c
@@ -46,7 +46,7 @@ make_selection_dialog (GdkScreen * screen,
double_entry->e2 = GTK_ENTRY (other_entry);
if (!screen)
- screen = gdk_get_default_screen ();
+ screen = gdk_screen_get_default ();
window = gtk_widget_new (GTK_TYPE_DIALOG,
"screen", screen,
@@ -122,7 +122,7 @@ main (int argc, char *argv[])
if (!g_strcasecmp (screen2_name, ""))
g_printerr ("No display name, reverting to default display\n");
- dpy2 = gdk_open_display (screen2_name);
+ dpy2 = gdk_display_open (screen2_name);
if (dpy2)
{
scr2 = gdk_display_get_default_screen (dpy2);