[gtk/shortcuts-rebased-again: 133/159] shortcut action: Fix a wrong cast



commit 563544ef37875665b6dfe05efb609c055ebc207a
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jun 23 16:11:26 2019 +0000

    shortcut action: Fix a wrong cast

 gtk/gtkshortcutaction.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkshortcutaction.c b/gtk/gtkshortcutaction.c
index 0511922c50..dfc999d44e 100644
--- a/gtk/gtkshortcutaction.c
+++ b/gtk/gtkshortcutaction.c
@@ -970,7 +970,7 @@ gtk_action_action_activate (GtkShortcutAction      *action,
                             GtkWidget              *widget,
                             GVariant               *args)
 {
-  GtkSignalAction *self = (GtkSignalAction *) action;
+  GtkActionAction *self = (GtkActionAction *) action;
   GActionGroup *action_group;
   const GVariantType *parameter_type;
   gboolean enabled;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]