[gtk/wip/baedert/transforms5: 241/272] button: Remove some dead code
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/transforms5: 241/272] button: Remove some dead code
- Date: Fri, 9 Nov 2018 08:55:44 +0000 (UTC)
commit 329e854a81b5f485b54f78cf9cc3abcecb1bb53e
Author: Timm Bäder <mail baedert org>
Date: Sat Aug 18 22:26:52 2018 +0200
button: Remove some dead code
gtk/gtkbutton.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 17dd5259df..987661dc4c 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -803,12 +803,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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]