add GDK_GRAB_BROKEN to the switch cases.

Sun Jun 26 00:04:36 2005  Manish Singh  <yosh@gimp.org>

        * gdk/gdkevents.c (gdk_event_get_time, gdk_event_get_state): add
        GDK_GRAB_BROKEN to the switch cases.

        * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): remove unused
        variables.

        * gtk/gtkpaned.c (gtk_paned_grab_broken): return TRUE.
This commit is contained in:
Manish Singh 2005-06-26 07:06:13 +00:00 committed by Manish Singh
parent 6cc79068cf
commit 2f330b7737
6 changed files with 34 additions and 2 deletions

View File

@ -1,3 +1,13 @@
Sun Jun 26 00:04:36 2005 Manish Singh <yosh@gimp.org>
* gdk/gdkevents.c (gdk_event_get_time, gdk_event_get_state): add
GDK_GRAB_BROKEN to the switch cases.
* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): remove unused
variables.
* gtk/gtkpaned.c (gtk_paned_grab_broken): return TRUE.
2005-06-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_grab_broken): Stop column

View File

@ -1,3 +1,13 @@
Sun Jun 26 00:04:36 2005 Manish Singh <yosh@gimp.org>
* gdk/gdkevents.c (gdk_event_get_time, gdk_event_get_state): add
GDK_GRAB_BROKEN to the switch cases.
* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): remove unused
variables.
* gtk/gtkpaned.c (gtk_paned_grab_broken): return TRUE.
2005-06-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_grab_broken): Stop column

View File

@ -1,3 +1,13 @@
Sun Jun 26 00:04:36 2005 Manish Singh <yosh@gimp.org>
* gdk/gdkevents.c (gdk_event_get_time, gdk_event_get_state): add
GDK_GRAB_BROKEN to the switch cases.
* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): remove unused
variables.
* gtk/gtkpaned.c (gtk_paned_grab_broken): return TRUE.
2005-06-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_grab_broken): Stop column

View File

@ -561,6 +561,7 @@ gdk_event_get_time (GdkEvent *event)
case GDK_WINDOW_STATE:
case GDK_SETTING:
case GDK_OWNER_CHANGE:
case GDK_GRAB_BROKEN:
/* return current time */
break;
}
@ -637,6 +638,7 @@ gdk_event_get_state (GdkEvent *event,
case GDK_WINDOW_STATE:
case GDK_SETTING:
case GDK_OWNER_CHANGE:
case GDK_GRAB_BROKEN:
/* no state field */
break;
}

View File

@ -612,8 +612,6 @@ gtk_menu_shell_grab_broken (GtkWidget *widget,
GdkEventGrabBroken *event)
{
GtkMenuShell *menu_shell;
GtkWidget *menu_item;
gint deactivate;
g_return_val_if_fail (GTK_IS_MENU_SHELL (widget), FALSE);
g_return_val_if_fail (event != NULL, FALSE);

View File

@ -921,6 +921,8 @@ gtk_paned_grab_broken (GtkWidget *widget,
paned->in_drag = FALSE;
paned->drag_pos = -1;
paned->position_set = TRUE;
return TRUE;
}
static gboolean