Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 165493 | Differences between
and this patch

Collapse All | Expand All

(-)pinentry-0.7.2/gtk+-2/pinentry-gtk-2.c (-2 / +3 lines)
Lines 89-99 constrain_size (GtkWidget *win, GtkRequi Link Here
89
static void
89
static void
90
grab_keyboard (GtkWidget *win, GdkEvent *event, gpointer data)
90
grab_keyboard (GtkWidget *win, GdkEvent *event, gpointer data)
91
{
91
{
92
  int r;
92
  if (!pinentry->grab)
93
  if (!pinentry->grab)
93
    return;
94
    return;
94
95
95
  if (gdk_keyboard_grab (win->window, FALSE, gdk_event_get_time (event)))
96
  if ((r=gdk_keyboard_grab (win->window, FALSE, gdk_event_get_time (event))) != 0)
96
    g_error ("could not grab keyboard");
97
    g_error ("could not grab keyboard (%d)", r);
97
}
98
}
98
99
99
/* Remove grab.  */
100
/* Remove grab.  */

Return to bug 165493