[Xfce4-commits] <xfce4-panel:devel> Only use { NULL } to end the array.

Nick Schermer noreply at xfce.org
Mon Sep 28 15:28:03 CEST 2009


Updating branch refs/heads/devel
         to 658534e0764998b5ea9b42920578f2059e673055 (commit)
       from 91a6c5c9e5f9a52d3a12c07de94bc32651b50a97 (commit)

commit 658534e0764998b5ea9b42920578f2059e673055
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Sep 26 16:51:39 2009 +0200

    Only use { NULL } to end the array.

 panel/panel-application.c       |    2 +-
 plugins/actions/actions.c       |    2 +-
 plugins/launcher/launcher.c     |    2 +-
 plugins/pager/pager.c           |    2 +-
 plugins/separator/separator.c   |    2 +-
 plugins/systray/systray.c       |    2 +-
 plugins/tasklist/tasklist.c     |    2 +-
 plugins/windowmenu/windowmenu.c |    2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/panel/panel-application.c b/panel/panel-application.c
index 9fbc0d7..4ce1dc2 100644
--- a/panel/panel-application.c
+++ b/panel/panel-application.c
@@ -255,7 +255,7 @@ panel_application_xfconf_window_bindings (PanelApplication *application,
     { "background-alpha", G_TYPE_UINT },
     { "output-name", G_TYPE_STRING },
     { "position", G_TYPE_STRING },
-    { NULL, G_TYPE_NONE }
+    { NULL }
   };
 
   panel_return_if_fail (XFCONF_IS_CHANNEL (application->xfconf));
diff --git a/plugins/actions/actions.c b/plugins/actions/actions.c
index 78268fc..3444646 100644
--- a/plugins/actions/actions.c
+++ b/plugins/actions/actions.c
@@ -296,7 +296,7 @@ actions_plugin_construct (XfcePanelPlugin *panel_plugin)
   {
     { "first-action", G_TYPE_UINT },
     { "second-action", G_TYPE_UINT },
-    { NULL, G_TYPE_NONE }
+    { NULL }
   };
 
   /* show the properties dialog */
diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index 743fc1f..548f9a0 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -645,7 +645,7 @@ launcher_plugin_construct (XfcePanelPlugin *panel_plugin)
     { "disable-tooltips", G_TYPE_BOOLEAN },
     { "move-first", G_TYPE_BOOLEAN },
     { "arrow-position", G_TYPE_UINT },
-    { NULL, G_TYPE_NONE }
+    { NULL }
   };
 
   /* show the configure menu item */
diff --git a/plugins/pager/pager.c b/plugins/pager/pager.c
index d70f50c..c381153 100644
--- a/plugins/pager/pager.c
+++ b/plugins/pager/pager.c
@@ -305,7 +305,7 @@ pager_plugin_construct (XfcePanelPlugin *panel_plugin)
     { "workspace-scrolling", G_TYPE_BOOLEAN },
     { "show-names", G_TYPE_BOOLEAN },
     { "rows", G_TYPE_UINT },
-    { NULL, G_TYPE_NONE }
+    { NULL }
   };
 
   /* show the properties dialog */
diff --git a/plugins/separator/separator.c b/plugins/separator/separator.c
index 6bdcb6a..a2226b2 100644
--- a/plugins/separator/separator.c
+++ b/plugins/separator/separator.c
@@ -283,7 +283,7 @@ separator_plugin_construct (XfcePanelPlugin *panel_plugin)
   {
     { "style", G_TYPE_UINT },
     { "expand", G_TYPE_BOOLEAN },
-    { NULL, G_TYPE_NONE }
+    { NULL }
   };
 
   /* show the properties dialog */
diff --git a/plugins/systray/systray.c b/plugins/systray/systray.c
index 839cd01..e591d9f 100644
--- a/plugins/systray/systray.c
+++ b/plugins/systray/systray.c
@@ -293,7 +293,7 @@ systray_plugin_construct (XfcePanelPlugin *panel_plugin)
   {
     { "rows", G_TYPE_UINT },
     { "show-frame", G_TYPE_BOOLEAN },
-    { NULL, G_TYPE_NONE }
+    { NULL }
   };
 
   /* show configure */
diff --git a/plugins/tasklist/tasklist.c b/plugins/tasklist/tasklist.c
index b93e9a0..125e8c2 100644
--- a/plugins/tasklist/tasklist.c
+++ b/plugins/tasklist/tasklist.c
@@ -127,7 +127,7 @@ tasklist_plugin_construct (XfcePanelPlugin *panel_plugin)
     { "show-only-minimized", G_TYPE_BOOLEAN },
     { "show-wireframes", G_TYPE_BOOLEAN },
     { "show-handle", G_TYPE_BOOLEAN },
-    { NULL, G_TYPE_NONE }
+    { NULL }
   };
 
   /* show configure */
diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c
index 08a81d5..5f34209 100644
--- a/plugins/windowmenu/windowmenu.c
+++ b/plugins/windowmenu/windowmenu.c
@@ -382,7 +382,7 @@ window_menu_plugin_construct (XfcePanelPlugin *panel_plugin)
     { "workspace-names", G_TYPE_BOOLEAN },
     { "urgentcy-notification", G_TYPE_BOOLEAN },
     { "all-workspaces", G_TYPE_BOOLEAN },
-    { NULL, G_TYPE_NONE }
+    { NULL }
   };
 
   /* show configure */



More information about the Xfce4-commits mailing list