Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Commits

r14708 - projects/haf/trunk/gtk+/gtk

 

 

Maemo commits RSS feed   Index | Next | Previous | View Threaded


subversion at stage

Nov 2, 2007, 6:12 AM

Post #1 of 1 (314 views)
Permalink
r14708 - projects/haf/trunk/gtk+/gtk

Author: xan
Date: 2007-11-02 15:12:49 +0200 (Fri, 02 Nov 2007)
New Revision: 14708

Modified:
projects/haf/trunk/gtk+/gtk/gtkmenu.c
Log:
Add temporary debug to help tracking bug NB#72418


Modified: projects/haf/trunk/gtk+/gtk/gtkmenu.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtkmenu.c 2007-11-02 12:53:05 UTC (rev 14707)
+++ projects/haf/trunk/gtk+/gtk/gtkmenu.c 2007-11-02 13:12:49 UTC (rev 14708)
@@ -1307,12 +1307,14 @@
return TRUE;
else
{
+ g_warning ("popup_grab_on_window: couldn't grab keyboard");
gdk_display_pointer_ungrab (gdk_drawable_get_display (window),
activate_time);
return FALSE;
}
}

+ g_warning ("popup_grab_on_window: couldn't grab pointer");
return FALSE;
}

@@ -1459,7 +1461,7 @@
if (xgrab_shell && xgrab_shell != widget)
{
if (popup_grab_on_window (xgrab_shell->window, activate_time, grab_keyboard))
- GTK_MENU_SHELL (xgrab_shell)->have_xgrab = TRUE;
+ GTK_MENU_SHELL (xgrab_shell)->have_xgrab = TRUE;

#ifdef MAEMO_CHANGES
/* Maemo: enable rc-file theming */
@@ -1498,6 +1500,7 @@
*/
menu_shell->parent_menu_shell = NULL;
menu_grab_transfer_window_destroy (menu);
+ g_warning ("%gtk_menu_popup: exiting because we don't have grab");
return;
}


_______________________________________________
maemo-commits mailing list
maemo-commits [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-commits

Maemo commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.