diff options
author | Timm Bäder <mail@baedert.org> | 2018-12-03 19:07:54 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-12-04 06:30:47 +0100 |
commit | 2644da106b8f198ed7eae6ac5bd4c4ee81694223 (patch) | |
tree | b064939393bffe7f15f56b83758484c94ab3c0fc /gtk/gtkbutton.c | |
parent | 4860410c4a8c4e04bdeb4f6b82ea65fb96619d7f (diff) | |
download | gtk+-2644da106b8f198ed7eae6ac5bd4c4ee81694223.tar.gz |
button: Remove some dead code
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r-- | gtk/gtkbutton.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index 0534814df7..9dae0101cc 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -799,12 +799,6 @@ gtk_real_button_activate (GtkButton *button) { GtkWidget *widget = GTK_WIDGET (button); GtkButtonPrivate *priv = gtk_button_get_instance_private (button); - GdkDevice *device; - - device = gtk_get_current_event_device (); - - if (device && gdk_device_get_source (device) != GDK_SOURCE_KEYBOARD) - device = gdk_device_get_associated_device (device); if (gtk_widget_get_realized (widget) && !priv->activate_timeout) { |