changeset 3063:0ac3c3bc5d4a

Set GTK+ window types.
author William Pitcock <nenolod@atheme-project.org>
date Fri, 13 Jul 2007 09:36:51 -0500
parents 994d8a688d99
children 70835f111875 91df04ec5ef7
files src/audacious/ui_skinned_window.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_skinned_window.c	Thu Jul 12 06:03:29 2007 -0500
+++ b/src/audacious/ui_skinned_window.c	Fri Jul 13 09:36:51 2007 -0500
@@ -146,6 +146,9 @@
 ui_skinned_window_new(GtkWindowType type, const gchar *wmclass_name)
 {
     GtkWidget *widget = g_object_new(ui_skinned_window_get_type(), NULL);
+    GtkWindow *window = GTK_WINDOW(widget);
+
+    window->type = type;
 
     if (wmclass_name)
         gtk_window_set_wmclass(GTK_WINDOW(widget), wmclass_name, "Audacious");