From 31ef3a6303e8fec63b4daecec3173e64065c0d95 Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date: Sat, 15 Aug 2015 21:54:23 +0200 Subject: [PATCH] sidebar-plugins: Fix build with Vala 0.30 Signed-off-by: Quentin Glidic --- src/vala/gmpc-sidebar-plugins.vala | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/vala/gmpc-sidebar-plugins.vala b/src/vala/gmpc-sidebar-plugins.vala index 0c909984..58f5a8b9 100644 --- a/src/vala/gmpc-sidebar-plugins.vala +++ b/src/vala/gmpc-sidebar-plugins.vala @@ -26,7 +26,7 @@ const string GSBP_LOG_DOMAIN = "Gmpc.Sidebar.Plugins"; public class Gmpc.Sidebar.Plugins { - private static ListStore store; + private static Gtk.ListStore store; private static void embed(TreeIter iter) { @@ -215,12 +215,12 @@ public class Gmpc.Sidebar.Plugins public static void init(SidebarIface plugin) { if (store == null) - store = new ListStore(6, typeof(bool), // enabled - typeof(string), // name - typeof(int), // position - typeof(SidebarIface), // plugin - typeof(Grid), // Widget - typeof(Widget)); // Label + store = new Gtk.ListStore(6, typeof(bool), // enabled + typeof(string), // name + typeof(int), // position + typeof(SidebarIface), // plugin + typeof(Grid), // Widget + typeof(Widget)); // Label log(GSBP_LOG_DOMAIN, GLib.LogLevelFlags.LEVEL_DEBUG, "Initializing sidebar plugin"); TreeIter iter; store.append(out iter); -- 2.11.4.GIT