[Xfce4-commits] [apps/mousepad] 01/01: Don't return value in void function (oops)

noreply at xfce.org noreply at xfce.org
Sat Jul 12 22:10:48 CEST 2014

This is an automated email from the git hooks/post-receive script.

mbrush pushed a commit to branch master
in repository apps/mousepad.

commit 87ce52f7ca788414d294ce89cf6116e9e75ad714
Author: Matthew Brush <mbrush at codebrainz.ca>
Date:   Sat Jul 12 13:10:04 2014 -0700

    Don't return value in void function (oops)
    Closes #11014 (https://bugzilla.xfce.org/show_bug.cgi?id=11014)
    Thanks to Eric Koegel for finding it and providing patch.
 mousepad/mousepad-settings.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mousepad/mousepad-settings.c b/mousepad/mousepad-settings.c
index d5643e9..2fe9939 100644
--- a/mousepad/mousepad-settings.c
+++ b/mousepad/mousepad-settings.c
@@ -279,7 +279,7 @@ mousepad_setting_set_enum (const gchar *path,
   const gchar *key_name = NULL;
   GSettings   *settings = NULL;
-  g_return_val_if_fail (path != NULL, FALSE);
+  g_return_if_fail (path != NULL);
   if (mousepad_settings_store_lookup (settings_store, path, &key_name, &settings))
     g_settings_set_enum (settings, key_name, value);

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Xfce4-commits mailing list