aboutsummaryrefslogtreecommitdiff
path: root/src/applet-main.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2008-10-29 21:36:40 -0500
committerTed Gould <ted@canonical.com>2008-10-29 21:36:40 -0500
commit9b4a5fb6e1df828104779dc189f80b92fdcbf4ff (patch)
tree0849978952dee232196120f5e0de2f0b39991ac3 /src/applet-main.c
parent435437a7cc42aad99d5b220e42ab8d3df965d25d (diff)
downloadlibayatana-indicator-9b4a5fb6e1df828104779dc189f80b92fdcbf4ff.tar.gz
libayatana-indicator-9b4a5fb6e1df828104779dc189f80b92fdcbf4ff.tar.bz2
libayatana-indicator-9b4a5fb6e1df828104779dc189f80b92fdcbf4ff.zip
Adding in the linking and some basic prototypes.
Diffstat (limited to 'src/applet-main.c')
-rw-r--r--src/applet-main.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/applet-main.c b/src/applet-main.c
index e69de29..6ec3788 100644
--- a/src/applet-main.c
+++ b/src/applet-main.c
@@ -0,0 +1,26 @@
+
+#include <panel-applet.h>
+
+
+static gboolean applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data);
+
+
+/*************
+ * main
+ * ***********/
+
+PANEL_APPLET_BONOBO_FACTORY ("OAFIID:GNOME_IndicatorApplet_Factory",
+ PANEL_TYPE_APPLET,
+ "indicator-applet", "0",
+ applet_fill_cb, NULL);
+
+/*************
+ * init function
+ * ***********/
+
+static gboolean
+applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data)
+{
+
+ return TRUE;
+}