diff options
Diffstat (limited to 'mate-applet')
-rw-r--r-- | mate-applet/mdock-mate-panel-applet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mate-applet/mdock-mate-panel-applet.c b/mate-applet/mdock-mate-panel-applet.c index 404c7f7..63581f4 100644 --- a/mate-applet/mdock-mate-panel-applet.c +++ b/mate-applet/mdock-mate-panel-applet.c @@ -71,13 +71,16 @@ static gboolean transform_applet_orient_to_orientation(GBinding *binding, const { MatePanelAppletOrient orient = g_value_get_uint(from_value); g_value_set_enum(to_value, applet_orient_to_orientation(orient)); + return TRUE; } static gboolean transform_prefs_path_to_gsettings(GBinding *binding, const GValue *from_value, GValue *to_value, gpointer user_data) { const gchar *prefs_path = g_value_get_string(from_value); GSettings *settings = g_settings_new_with_path(MDOCK_WIDGET_GSETTINGS_SCHEMA, prefs_path); + g_return_val_if_fail(settings, FALSE); g_value_take_object(to_value, settings); + return TRUE; } static GtkOrientation mdock_mate_panel_applet_get_orientation(MDockMatePanelApplet *self) |