--- a/gntbindable.c Tue May 21 01:20:54 2019 +0000
+++ b/gntbindable.c Tue May 21 01:25:14 2019 +0000
@@ -54,6 +54,22 @@
+ char *name; /* The name of the action */ + GntBindableActionCallback action; + GntBindableActionCallbackNoParam action_noparam; + GntBindableAction *action; +} GntBindableActionParam; /******************************************************************************
*****************************************************************************/
@@ -251,6 +267,21 @@
+gnt_bindable_action_free(GntBindableAction *action) +gnt_bindable_action_param_free(GntBindableActionParam *param) + g_list_free(param->list); /* XXX: There may be a leak here for string /******************************************************************************
*****************************************************************************/
@@ -424,18 +455,6 @@
-void gnt_bindable_action_free(GntBindableAction *action)
-void gnt_bindable_action_param_free(GntBindableActionParam *param)
- g_list_free(param->list); /* XXX: There may be a leak here for string parameters */
GntBindable * gnt_bindable_bindings_view(GntBindable *bind)
GntBindable *tree = GNT_BINDABLE(gnt_tree_new_with_columns(2));
--- a/gntbindable.h Tue May 21 01:20:54 2019 +0000
+++ b/gntbindable.h Tue May 21 01:25:14 2019 +0000
@@ -68,60 +68,6 @@
typedef gboolean (*GntBindableActionCallback) (GntBindable *bindable, GList *params);
typedef gboolean (*GntBindableActionCallbackNoParam)(GntBindable *bindable);
-#ifndef GNT_DISABLE_DEPRECATED
- * Deprecated: 2.14.0: This is an internal implementation detail.
-typedef struct _GntBindableAction GntBindableAction;
- * GntBindableActionParam:
- * Deprecated: 2.14.0: This is an internal implementation detail.
-typedef struct _GntBindableActionParam GntBindableActionParam;
-struct _GntBindableAction
- char *name; /* The name of the action */
- GntBindableActionCallback action;
- GntBindableActionCallbackNoParam action_noparam;
-struct _GntBindableActionParam
- GntBindableAction *action;
-#ifndef GNT_DISABLE_DEPRECATED
-/*GntBindableAction *gnt_bindable_action_parse(const char *name);*/
- * gnt_bindable_action_free:
- * @action: The bindable action.
- * Free a bindable action.
- * Deprecated: 2.14.0: This is an internal implementation detail.
-void gnt_bindable_action_free(GntBindableAction *action);
- * gnt_bindable_action_param_free:
- * @param: The GntBindableActionParam to free.
- * Free a GntBindableActionParam.
- * Deprecated: 2.14.0: This is an internal implementation detail.
-void gnt_bindable_action_param_free(GntBindableActionParam *param);
* gnt_bindable_class_register_action:
* @klass: The class the binding is for.
--- a/gntwm.c Tue May 21 01:20:54 2019 +0000
+++ b/gntwm.c Tue May 21 01:25:14 2019 +0000
@@ -69,7 +69,13 @@
#define IDLE_CHECK_INTERVAL 5 /* 5 seconds */
-typedef struct _GntListWindow