Commit 7f414f6b authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Call gdk_display_manager_set_default_display() to change the default

2005-12-30  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkdisplaymanager.c (gdk_display_manager_set_property): Call
	gdk_display_manager_set_default_display() to change the default
	display.  (#153623, Stefan Kost)
parent 4faad6e7
2005-12-30 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkdisplaymanager.c (gdk_display_manager_set_property): Call
gdk_display_manager_set_default_display() to change the default
display. (#153623, Stefan Kost)
* gtk/gtkmessagedialog.c (gtk_message_dialog_init):
(setup_type): Alert dialogs should not have titles and should
not be displayed in the taskbar. (#310443, Carlos Garnacho Parro,
......
2005-12-30 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkdisplaymanager.c (gdk_display_manager_set_property): Call
gdk_display_manager_set_default_display() to change the default
display. (#153623, Stefan Kost)
* gtk/gtkmessagedialog.c (gtk_message_dialog_init):
(setup_type): Alert dialogs should not have titles and should
not be displayed in the taskbar. (#310443, Carlos Garnacho Parro,
......
......@@ -142,7 +142,8 @@ gdk_display_manager_set_property (GObject *object,
switch (prop_id)
{
case PROP_DEFAULT_DISPLAY:
default_display = g_value_get_object (value);
gdk_display_manager_set_default_display (GDK_DISPLAY_MANAGER (object),
g_value_get_object (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment