summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet.c')
-rw-r--r--libmate-panel-applet/mate-panel-applet.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c
index 25b21cbc..5a46080e 100644
--- a/libmate-panel-applet/mate-panel-applet.c
+++ b/libmate-panel-applet/mate-panel-applet.c
@@ -1556,9 +1556,9 @@ mate_panel_applet_change_background(MatePanelApplet *applet,
if (applet->priv->out_of_process)
window = gtk_widget_get_window (applet->priv->plug);
else
- window = gtk_widget_get_window (applet);
+ window = gtk_widget_get_window GTK_WIDGET((applet));
#else
- window = gtk_widget_get_window (applet);
+ window = gtk_widget_get_window GTK_WIDGET((applet));
#endif
gtk_widget_set_app_paintable(GTK_WIDGET(applet),TRUE);
if (applet->priv->out_of_process)
@@ -2355,6 +2355,7 @@ _mate_panel_applet_factory_main_internal (const gchar *factory_id,
/**
* panel_applet_factory_main:
+ * @out_process: boolean, dummy to support applets sending it
* @factory_id: Factory ID.
* @applet_type: GType of the applet this factory creates.
* @callback: (scope call): Callback to be called when a new applet is to be created.
@@ -2364,6 +2365,7 @@ _mate_panel_applet_factory_main_internal (const gchar *factory_id,
*/
int
mate_panel_applet_factory_main (const gchar *factory_id,
+ gboolean out_process, /*Dummy to support applets w issues with this */
GType applet_type,
MatePanelAppletFactoryCallback callback,
gpointer user_data)