projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove superfluous tests
[pspp-builds.git]
/
lib
/
gtk-contrib
/
psppire-sheet.c
diff --git
a/lib/gtk-contrib/psppire-sheet.c
b/lib/gtk-contrib/psppire-sheet.c
index bb99d1e32899812f3ac9143acb6c3c14dbf73359..87547e84317bf3810fd1bfc801a17362bfd3359f 100644
(file)
--- a/
lib/gtk-contrib/psppire-sheet.c
+++ b/
lib/gtk-contrib/psppire-sheet.c
@@
-2141,11
+2141,8
@@
psppire_sheet_unmap (GtkWidget *widget)
gdk_window_hide (sheet->row_title_window);
gdk_window_hide (widget->window);
gdk_window_hide (sheet->row_title_window);
gdk_window_hide (widget->window);
- if (GTK_WIDGET_MAPPED (sheet->entry_widget))
- gtk_widget_unmap (sheet->entry_widget);
-
- if (GTK_WIDGET_MAPPED (sheet->button))
- gtk_widget_unmap (sheet->button);
+ gtk_widget_unmap (sheet->entry_widget);
+ gtk_widget_unmap (sheet->button);
}
/* get cell attributes of the given cell */
}
/* get cell attributes of the given cell */