summaryrefslogtreecommitdiff
path: root/src/eom-properties-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-properties-dialog.c')
-rw-r--r--src/eom-properties-dialog.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/eom-properties-dialog.c b/src/eom-properties-dialog.c
index 27a8a95..1dc6715 100644
--- a/src/eom-properties-dialog.c
+++ b/src/eom-properties-dialog.c
@@ -51,10 +51,6 @@
#include "eom-exif-details.h"
#endif
-#if GTK_CHECK_VERSION(3, 0, 0)
- #define gtk_widget_hide_all(w) gtk_widget_hide(w)
-#endif
-
#define EOM_PROPERTIES_DIALOG_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), EOM_TYPE_PROPERTIES_DIALOG, EomPropertiesDialogPrivate))
@@ -358,10 +354,10 @@ pd_update_metadata_tab (EomPropertiesDialog *prop_dlg,
}
if (gtk_widget_get_visible (priv->exif_box)) {
- gtk_widget_hide_all (priv->exif_box);
+ gtk_widget_hide (priv->exif_box);
}
if (gtk_widget_get_visible (priv->metadata_details_box)) {
- gtk_widget_hide_all (priv->metadata_details_box);
+ gtk_widget_hide (priv->metadata_details_box);
}
return;
@@ -371,7 +367,7 @@ pd_update_metadata_tab (EomPropertiesDialog *prop_dlg,
if (priv->netbook_mode &&
!gtk_widget_get_visible (priv->metadata_details_box)) {
gtk_widget_show_all (priv->metadata_details_box);
- gtk_widget_hide_all (priv->exif_details_expander);
+ gtk_widget_hide (priv->exif_details_expander);
}
}
@@ -541,7 +537,7 @@ eom_properties_dialog_set_netbook_mode (EomPropertiesDialog *dlg,
if (gtk_widget_get_visible (priv->exif_box))
gtk_widget_show_all (priv->metadata_details_box);
- gtk_widget_hide_all (priv->exif_details_expander);
+ gtk_widget_hide (priv->exif_details_expander);
} else {
gtk_widget_reparent (priv->metadata_details_sw,
priv->exif_details_expander);
@@ -549,7 +545,7 @@ eom_properties_dialog_set_netbook_mode (EomPropertiesDialog *dlg,
if (gtk_notebook_get_current_page (GTK_NOTEBOOK (priv->notebook)) == EOM_PROPERTIES_DIALOG_PAGE_DETAILS)
gtk_notebook_prev_page (GTK_NOTEBOOK (priv->notebook));
- gtk_widget_hide_all (priv->metadata_details_box);
+ gtk_widget_hide (priv->metadata_details_box);
}
#endif
}
@@ -753,7 +749,7 @@ eom_properties_dialog_init (EomPropertiesDialog *prop_dlg)
priv->metadata_details_sw = sw;
if (priv->netbook_mode) {
- gtk_widget_hide_all (priv->exif_details_expander);
+ gtk_widget_hide (priv->exif_details_expander);
gtk_box_pack_start (GTK_BOX (priv->metadata_details_box),
sw, TRUE, TRUE, 6);
} else {
@@ -767,8 +763,8 @@ eom_properties_dialog_init (EomPropertiesDialog *prop_dlg)
dlg);
#ifndef HAVE_EXEMPI
- gtk_widget_hide_all (xmp_box);
- gtk_widget_hide_all (xmp_box_label);
+ gtk_widget_hide (xmp_box);
+ gtk_widget_hide (xmp_box_label);
#endif
#else