[gtk+/popovers] magnifier: Don't return a value from a void function



commit d8aa468eeccd94fe2ddb5ceb9e8461d7af9333b3
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jan 28 19:48:52 2014 +0100

    magnifier: Don't return a value from a void function

 gtk/gtkmagnifier.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmagnifier.c b/gtk/gtkmagnifier.c
index 755f01e..e7ab74b 100644
--- a/gtk/gtkmagnifier.c
+++ b/gtk/gtkmagnifier.c
@@ -186,7 +186,7 @@ _gtk_magnifier_set_inspected (GtkMagnifier *magnifier,
 {
   GtkMagnifierPrivate *priv;
 
-  g_return_val_if_fail (GTK_IS_MAGNIFIER (magnifier), NULL);
+  g_return_if_fail (GTK_IS_MAGNIFIER (magnifier));
 
   priv = _gtk_magnifier_get_instance_private (magnifier);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]