[gtk] inspector: Remove unnecessary cast
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] inspector: Remove unnecessary cast
- Date: Mon, 30 Jul 2018 12:24:11 +0000 (UTC)
commit a8c6f222edd7bdb495b09184331ab3f6335412d7
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jul 30 14:19:07 2018 +0200
inspector: Remove unnecessary cast
Pointed out by Timm.
gtk/inspector/inspect-button.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/inspector/inspect-button.c b/gtk/inspector/inspect-button.c
index 5e58cb1008..5fa28f25d3 100644
--- a/gtk/inspector/inspect-button.c
+++ b/gtk/inspector/inspect-button.c
@@ -358,7 +358,7 @@ gtk_inspector_on_inspect (GtkWidget *button,
G_CALLBACK (property_query_pressed), iw);
gtk_widget_add_controller (iw->invisible, controller);
- controller = GTK_EVENT_CONTROLLER (gtk_event_controller_motion_new ());
+ controller = gtk_event_controller_motion_new ();
g_signal_connect (controller, "motion",
G_CALLBACK (property_query_motion), iw);
gtk_widget_add_controller (iw->invisible, controller);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]