diff options
Diffstat (limited to 'mate-volume-control/applet-main.c')
-rw-r--r-- | mate-volume-control/applet-main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mate-volume-control/applet-main.c b/mate-volume-control/applet-main.c index 961275f..fe447b4 100644 --- a/mate-volume-control/applet-main.c +++ b/mate-volume-control/applet-main.c @@ -87,9 +87,17 @@ applet_factory (MatePanelApplet* applet, const char* iid, gpointer data) return retval; } +#ifdef IN_PROCESS /* needed by mate-panel applet library */ MATE_PANEL_APPLET_IN_PROCESS_FACTORY("GvcAppletFactory", PANEL_TYPE_APPLET, "Volume Control applet", applet_factory, NULL) +#else +MATE_PANEL_APPLET_OUT_PROCESS_FACTORY("GvcAppletFactory", + PANEL_TYPE_APPLET, + "Volume Control applet", + applet_factory, + NULL) +#endif |