[gucharmap] Dialogues have no separators on gtk 3
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gucharmap] Dialogues have no separators on gtk 3
- Date: Sun, 26 Sep 2010 14:19:49 +0000 (UTC)
commit 8d1f4c1e8262fd3b778483f3f27c5a0460bc7e7b
Author: Christian Persch <chpe gnome org>
Date: Sun Sep 12 00:55:49 2010 +0200
Dialogues have no separators on gtk 3
gucharmap/gucharmap-search-dialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gucharmap/gucharmap-search-dialog.c b/gucharmap/gucharmap-search-dialog.c
index b2ba675..cc3c88c 100644
--- a/gucharmap/gucharmap-search-dialog.c
+++ b/gucharmap/gucharmap-search-dialog.c
@@ -735,7 +735,9 @@ gucharmap_search_dialog_init (GucharmapSearchDialog *search_dialog)
/* follow hig guidelines */
gtk_window_set_title (GTK_WINDOW (search_dialog), _("Find"));
gtk_container_set_border_width (GTK_CONTAINER (search_dialog), 6);
+#if !GTK_CHECK_VERSION (2, 90, 7)
gtk_dialog_set_has_separator (GTK_DIALOG (search_dialog), FALSE);
+#endif
gtk_window_set_destroy_with_parent (GTK_WINDOW (search_dialog), TRUE);
gtk_box_set_spacing (GTK_BOX (content_area), 12);
gtk_window_set_resizable (GTK_WINDOW (search_dialog), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]