X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fcustomentry.c;h=6282937016bac0abf6038e5750c7d307f1b9308c;hb=573068f2bdcd3f8796e9646668fed910a90f890b;hp=9afe978c2e50dfc97192e0ed774c4224cf644e3c;hpb=745a5487c9da077893a46d26d64e911246640a7b;p=pspp-builds.git diff --git a/src/ui/gui/customentry.c b/src/ui/gui/customentry.c index 9afe978c..62829370 100644 --- a/src/ui/gui/customentry.c +++ b/src/ui/gui/customentry.c @@ -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;