gdm r6664 - in trunk: . gui/user-switch-applet
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r6664 - in trunk: . gui/user-switch-applet
- Date: Thu, 15 Jan 2009 00:47:16 +0000 (UTC)
Author: mccann
Date: Thu Jan 15 00:47:15 2009
New Revision: 6664
URL: http://svn.gnome.org/viewvc/gdm?rev=6664&view=rev
Log:
2009-01-14 William Jon McCann <jmccann redhat com>
* gui/user-switch-applet/gdm-entry-menu-item.c
(gdm_entry_menu_item_button_press), (on_entry_show):
Don't raise null windows.
Modified:
trunk/ChangeLog
trunk/gui/user-switch-applet/gdm-entry-menu-item.c
Modified: trunk/gui/user-switch-applet/gdm-entry-menu-item.c
==============================================================================
--- trunk/gui/user-switch-applet/gdm-entry-menu-item.c (original)
+++ trunk/gui/user-switch-applet/gdm-entry-menu-item.c Thu Jan 15 00:47:15 2009
@@ -136,7 +136,9 @@
entry = GDM_ENTRY_MENU_ITEM (widget)->entry;
- gdk_window_raise (entry->window);
+ if (entry->window != NULL) {
+ gdk_window_raise (entry->window);
+ }
if (!GTK_WIDGET_HAS_FOCUS (entry)) {
gtk_widget_grab_focus (entry);
@@ -199,7 +201,9 @@
on_entry_show (GtkWidget *widget,
GdmEntryMenuItem *item)
{
- gdk_window_raise (widget->window);
+ if (widget->window != NULL) {
+ gdk_window_raise (widget->window);
+ }
send_focus_change (widget, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]