Fixed a multitude of C89 compatibility warnings.
[pspp-builds.git] / src / ui / gui / customentry.c
index 9afe978c2e50dfc97192e0ed774c4224cf644e3c..6282937016bac0abf6038e5750c7d307f1b9308c 100644 (file)
@@ -253,11 +253,11 @@ static gint
 psppire_custom_entry_expose (GtkWidget      *widget,
                     GdkEventExpose *event)
 {
+  PsppireCustomEntry *ce = PSPPIRE_CUSTOM_ENTRY(widget);
+
   g_return_val_if_fail (PSPPIRE_IS_CUSTOM_ENTRY (widget), FALSE);
   g_return_val_if_fail (event != NULL, FALSE);
 
-  PsppireCustomEntry *ce = PSPPIRE_CUSTOM_ENTRY(widget);
-
   if (GTK_WIDGET_DRAWABLE (widget))
     {
       GtkShadowType shadow_type;