aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-25 22:23:15 -0500
committerTed Gould <ted@canonical.com>2009-08-25 22:23:15 -0500
commit2b7746e2e74ffbafb7f1eb663a6a525dec9d28cb (patch)
tree4963e26168dd01354e76092a24e8426982615001 /src/messages-service.c
parente7695d9f9da90e12aaefe490e46e18d3b32f33dd (diff)
downloadayatana-indicator-messages-2b7746e2e74ffbafb7f1eb663a6a525dec9d28cb.tar.gz
ayatana-indicator-messages-2b7746e2e74ffbafb7f1eb663a6a525dec9d28cb.tar.bz2
ayatana-indicator-messages-2b7746e2e74ffbafb7f1eb663a6a525dec9d28cb.zip
Creating a real object and initing it.
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index e4982a2..d23e9ee 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -33,6 +33,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "launcher-menu-item.h"
#include "dbus-data.h"
#include "dirs.h"
+#include "messages-service-dbus.h"
static IndicateListener * listener;
static GList * serverList = NULL;
@@ -41,6 +42,8 @@ static GList * launcherList = NULL;
static DbusmenuMenuitem * root_menuitem = NULL;
static GMainLoop * mainloop = NULL;
+static MessageServiceDbus * dbus_interface = NULL;
+
static void server_count_changed (AppMenuItem * appitem, guint count, gpointer data);
static void server_name_changed (AppMenuItem * appitem, gchar * name, gpointer data);
@@ -986,6 +989,8 @@ main (int argc, char ** argv)
return 1;
}
+ dbus_interface = message_service_dbus_new();
+
listener = indicate_listener_ref_default();
serverList = NULL;