[gdm] Fix one more GSEAL issue



commit 831fdac030cfede2aa7ff5b5c2a7283447333c85
Author: William Jon McCann <jmccann redhat com>
Date:   Thu Jun 10 23:52:51 2010 -0400

    Fix one more GSEAL issue
    
    https://bugzilla.gnome.org/show_bug.cgi?id=612472

 gui/user-switch-applet/applet.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gui/user-switch-applet/applet.c b/gui/user-switch-applet/applet.c
index c824eb1..d4efc26 100644
--- a/gui/user-switch-applet/applet.c
+++ b/gui/user-switch-applet/applet.c
@@ -1466,8 +1466,7 @@ fill_applet (PanelApplet *applet)
 
         adata->menubar = gtk_menu_bar_new ();
         gtk_widget_set_name (adata->menubar, "gdm-user-switch-menubar");
-        GTK_WIDGET_SET_FLAGS (adata->menubar,
-                              GTK_WIDGET_FLAGS (adata->menubar) | GTK_CAN_FOCUS);
+        gtk_widget_set_can_focus (adata->menubar, TRUE);
         g_signal_connect (adata->menubar, "button-press-event",
                           G_CALLBACK (menubar_button_press_event_cb), adata);
         g_signal_connect_after (adata->menubar, "expose-event",



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