diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-10-31 21:12:23 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-10-31 21:12:23 +0000 |
commit | 550bf181d2e754425aa592f61108a0a0c9139256 (patch) | |
tree | 82047181585ec2c8cc9bf85b8d35a88e27fc93ee /gdk/gdkdisplay.h | |
parent | 089a38826365adbd8153318eb740c6b44cb9c49d (diff) | |
download | gtk+-550bf181d2e754425aa592f61108a0a0c9139256.tar.gz |
Add a --screen option for setting the default screen. (Based on a patch
Thu Oct 31 12:40:39 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.[ch] gdk/gdkglobals.c gdk/gdkinternals.h
gdk/{x11,win32,linux-fb}/gdkscreen-{x11,win32,linux-fb}.c:
Add a --screen option for setting the default screen.
(Based on a patch from Balamurali Viswanathan, #81145)
* gdk/gdk.c gdkdisplay.h gtk/gtkmain.c: Add
gdk_display_open_default_libgtk_only(), so gtk_init_check()
and gdk_init_check() can share the same behavior w.r.t.
--screen.
* gdk/gdk.[ch]: Make gdk_get_display_arg_name() G_CONST_RETURN.
* gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
Suppress a spurious warning.
* tests/testgtkrc: Remove someleft-over commented out
includes that could be confusing.
Diffstat (limited to 'gdk/gdkdisplay.h')
-rw-r--r-- | gdk/gdkdisplay.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h index a7f7234924..5e2485f5fa 100644 --- a/gdk/gdkdisplay.h +++ b/gdk/gdkdisplay.h @@ -146,6 +146,8 @@ GdkWindow * gdk_display_get_window_at_pointer (GdkDisplay *disp GdkDisplayPointerHooks *gdk_display_set_pointer_hooks (GdkDisplay *display, const GdkDisplayPointerHooks *new_hooks); +GdkDisplay *gdk_display_open_default_libgtk_only (void); + G_END_DECLS #endif /* __GDK_DISPLAY_H__ */ |