Commit 316d94d8 authored by Jehan's avatar Jehan
Browse files

app: s/0/GDK_GRAB_SUCCESS/.

Let's use semantic names rather than raw meaningless values.
parent 3f51d4eb
......@@ -147,10 +147,10 @@ gimp_popup_map_event (GtkWidget *widget,
if (gdk_pointer_grab (gtk_widget_get_window (widget), TRUE,
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK |
GDK_POINTER_MOTION_MASK,
NULL, NULL, GDK_CURRENT_TIME) == 0)
NULL, NULL, GDK_CURRENT_TIME) == GDK_GRAB_SUCCESS)
{
if (gdk_keyboard_grab (gtk_widget_get_window (widget), TRUE,
GDK_CURRENT_TIME) == 0)
GDK_CURRENT_TIME) == GDK_GRAB_SUCCESS)
{
gtk_grab_add (widget);
......
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