[gnome-control-center] sound: Fix use of deprecated gtk_vscale_new()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sound: Fix use of deprecated gtk_vscale_new()
- Date: Mon, 25 Jun 2012 12:34:25 +0000 (UTC)
commit 75cc274a3b62011958f749eb52be4b977ea152e7
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jun 25 13:33:04 2012 +0100
sound: Fix use of deprecated gtk_vscale_new()
panels/sound/gvc-channel-bar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/sound/gvc-channel-bar.c b/panels/sound/gvc-channel-bar.c
index 2314d9a..ef12640 100644
--- a/panels/sound/gvc-channel-bar.c
+++ b/panels/sound/gvc-channel-bar.c
@@ -112,7 +112,7 @@ _scale_box_new (GvcChannelBar *bar)
if (priv->orientation == GTK_ORIENTATION_VERTICAL) {
bar->priv->scale_box = box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
- priv->scale = gtk_vscale_new (priv->adjustment);
+ priv->scale = gtk_scale_new (GTK_ORIENTATION_VERTICAL, priv->adjustment);
gtk_widget_set_size_request (priv->scale, -1, SCALE_SIZE);
gtk_range_set_inverted (GTK_RANGE (priv->scale), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]