diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-06-24 11:44:26 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-06-24 15:51:39 +0000 |
commit | 2405e2711e047b477293bf4a0cba78d5c4785cf1 (patch) | |
tree | ad5f10dcc76180c0118b288d4605a141307703f9 /gtk/gtkwidget.h | |
parent | 1527407c3d2f5543fb8cbcffd900788ccc26fe2b (diff) | |
download | gtk+-2405e2711e047b477293bf4a0cba78d5c4785cf1.tar.gz |
Add a non-varargs variant of activate_action
I recently turned gtk_widget_activate_action()
into a varargs function. That is more convenient
from C, but we need a non-varargs variant for
bindings. So add the old API back, under the
name gtk_widget_activate_action_variant(),
with a rename-to annotation.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r-- | gtk/gtkwidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index dd411945a9..a842d89031 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -980,6 +980,10 @@ void gtk_widget_activate_action (GtkWidget *widget, const char *name, const char *format_string, ...); +GDK_AVAILABLE_IN_ALL +void gtk_widget_activate_action_variant (GtkWidget *widget, + const char *name, + GVariant *args); GDK_AVAILABLE_IN_ALL void gtk_widget_activate_default (GtkWidget *widget); |