projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a multitude of C89 compatibility warnings.
[pspp-builds.git]
/
src
/
ui
/
gui
/
customentry.c
diff --git
a/src/ui/gui/customentry.c
b/src/ui/gui/customentry.c
index 9afe978c2e50dfc97192e0ed774c4224cf644e3c..6282937016bac0abf6038e5750c7d307f1b9308c 100644
(file)
--- 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)
{
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);
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;
if (GTK_WIDGET_DRAWABLE (widget))
{
GtkShadowType shadow_type;