Remove gtk_window_set_wmclass call in gnome-hello



Howdy,

gnome-hello calls gtk_window_set_wmclass, but the documentation for
that function says that it shouldn't be called.  The attached patch
removes the call.

-- 
Matt                                                   http://ftbfs.org/

P.S. The problem noted in
http://mail.gnome.org/archives/desktop-devel-list/2007-January/msg00497.html
is also still present.
Index: src/app.c
===================================================================
--- src/app.c	(revision 234)
+++ src/app.c	(working copy)
@@ -47,7 +47,6 @@
   gtk_window_set_resizable (GTK_WINDOW (app), TRUE);
   gtk_window_set_default_size (GTK_WINDOW (app), 250, 350);
   gtk_window_set_title (GTK_WINDOW (app), _("GNOME Hello"));
-  gtk_window_set_wmclass (GTK_WINDOW (app), "hello", "GnomeHello");
 
   vbox = gtk_vbox_new (FALSE, 0);
   gtk_container_add (GTK_CONTAINER (app), vbox);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]