diff options
-rw-r--r-- | gtk/gtkfilechooserwidget.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 2e93cd334e..8975080d33 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -1395,11 +1395,8 @@ widget_key_press_cb (GtkEventControllerKey *controller, GtkFileChooserWidget *impl = (GtkFileChooserWidget *) data; GtkFileChooserWidgetPrivate *priv = impl->priv; gboolean handled = FALSE; - GdkEvent *event; const char *string; - event = gtk_get_current_event (); - if (should_trigger_location_entry (impl, keyval, state, &string)) { if (priv->action == GTK_FILE_CHOOSER_ACTION_OPEN || @@ -1420,8 +1417,6 @@ widget_key_press_cb (GtkEventControllerKey *controller, } } - g_object_unref (event); - return handled; } |