Commit 2f330b77 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

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.
parent 6cc79068
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
......
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
......
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
......
......@@ -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;
}
......
......@@ -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);
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment