diff options
author | Ali Abdallah <ali@xfce.org> | 2017-06-22 13:51:07 +0200 |
---|---|---|
committer | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2017-07-02 23:58:10 +0200 |
commit | d3a6a546c83b1489b87087b0fd68bbcb0598118b (patch) | |
tree | 6cca27a0fa73447d1f1e3659452e8d76da8df9af /plugins | |
parent | 47310591f521fbf6d60a9c30064c6acb49f3437c (diff) | |
download | xfce4-panel-d3a6a546c83b1489b87087b0fd68bbcb0598118b.tar.gz |
Remove obsolete PANEL_PROPERTIES_TYPE_VALUE_ARRAY
PANEL_PROPERTIES_TYPE_VALUE_ARRAY is obsolete dbus_g_type_collection.
This makes the panel compatible with libxfconf >= 4.13.1, for this XDT_CHECK_PACKAGE
for libxfconf has been bumped to the required version.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/actions/actions.c | 4 | ||||
-rw-r--r-- | plugins/launcher/launcher.c | 4 | ||||
-rw-r--r-- | plugins/systray/systray.c | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/plugins/actions/actions.c b/plugins/actions/actions.c index 3740ad61..dba9b94b 100644 --- a/plugins/actions/actions.c +++ b/plugins/actions/actions.c @@ -240,7 +240,7 @@ actions_plugin_class_init (ActionsPluginClass *klass) PROP_ITEMS, g_param_spec_boxed ("items", NULL, NULL, - PANEL_PROPERTIES_TYPE_VALUE_ARRAY, + G_TYPE_PTR_ARRAY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, @@ -360,7 +360,7 @@ actions_plugin_construct (XfcePanelPlugin *panel_plugin) ActionsPlugin *plugin = XFCE_ACTIONS_PLUGIN (panel_plugin); const PanelProperty properties[] = { - { "items", PANEL_PROPERTIES_TYPE_VALUE_ARRAY }, + { "items", G_TYPE_PTR_ARRAY }, { "appearance", G_TYPE_UINT }, { "invert-orientation", G_TYPE_BOOLEAN }, { "ask-confirmation", G_TYPE_BOOLEAN }, diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c index c75880bd..55e3af1d 100644 --- a/plugins/launcher/launcher.c +++ b/plugins/launcher/launcher.c @@ -274,7 +274,7 @@ launcher_plugin_class_init (LauncherPluginClass *klass) PROP_ITEMS, g_param_spec_boxed ("items", NULL, NULL, - PANEL_PROPERTIES_TYPE_VALUE_ARRAY, + G_TYPE_PTR_ARRAY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, @@ -999,7 +999,7 @@ launcher_plugin_construct (XfcePanelPlugin *panel_plugin) const PanelProperty properties[] = { { "show-label", G_TYPE_BOOLEAN }, - { "items", PANEL_PROPERTIES_TYPE_VALUE_ARRAY }, + { "items", G_TYPE_PTR_ARRAY }, { "disable-tooltips", G_TYPE_BOOLEAN }, { "move-first", G_TYPE_BOOLEAN }, { "arrow-position", G_TYPE_UINT }, diff --git a/plugins/systray/systray.c b/plugins/systray/systray.c index 37cdcc39..86c036c0 100644 --- a/plugins/systray/systray.c +++ b/plugins/systray/systray.c @@ -199,14 +199,14 @@ systray_plugin_class_init (SystrayPluginClass *klass) PROP_NAMES_ORDERED, g_param_spec_boxed ("names-ordered", NULL, NULL, - PANEL_PROPERTIES_TYPE_VALUE_ARRAY, + G_TYPE_PTR_ARRAY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_NAMES_HIDDEN, g_param_spec_boxed ("names-hidden", NULL, NULL, - PANEL_PROPERTIES_TYPE_VALUE_ARRAY, + G_TYPE_PTR_ARRAY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); } @@ -472,8 +472,8 @@ systray_plugin_construct (XfcePanelPlugin *panel_plugin) { { "size-max", G_TYPE_UINT }, { "show-frame", G_TYPE_BOOLEAN }, - { "names-ordered", PANEL_PROPERTIES_TYPE_VALUE_ARRAY }, - { "names-hidden", PANEL_PROPERTIES_TYPE_VALUE_ARRAY }, + { "names-ordered", G_TYPE_PTR_ARRAY }, + { "names-hidden", G_TYPE_PTR_ARRAY }, { NULL } }; |