summaryrefslogtreecommitdiff
path: root/gst-mixer/src/preferences.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-20 16:17:02 +0100
committerStefano Karapetsas <[email protected]>2014-01-20 16:17:02 +0100
commit64c176af81eb133ecdd13ca54e5c3dba657806ad (patch)
treeb2816472eb9034f469ae59096f3118525ce4aedf /gst-mixer/src/preferences.c
parent89df05d618d097c98d0586c67e9d8fb9ae402cb6 (diff)
downloadmate-media-64c176af81eb133ecdd13ca54e5c3dba657806ad.tar.bz2
mate-media-64c176af81eb133ecdd13ca54e5c3dba657806ad.tar.xz
gst-mixer: Add GTK3 support
Bump minimum GTK2 version to use GtkComboBoxText for both GTK versions
Diffstat (limited to 'gst-mixer/src/preferences.c')
-rw-r--r--gst-mixer/src/preferences.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-mixer/src/preferences.c b/gst-mixer/src/preferences.c
index b84b264..76fbcf9 100644
--- a/gst-mixer/src/preferences.c
+++ b/gst-mixer/src/preferences.c
@@ -103,7 +103,9 @@ mate_volume_control_preferences_init (MateVolumeControlPreferences *prefs)
/* make window look cute */
gtk_window_set_title (GTK_WINDOW (prefs), _("Volume Control Preferences"));
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_dialog_set_has_separator (GTK_DIALOG (prefs), FALSE);
+#endif
gtk_container_set_border_width (GTK_CONTAINER (prefs), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (prefs))), 2);
gtk_dialog_add_buttons (GTK_DIALOG (prefs),