[gnome-media] Replace deprecated gtk_fixed_set_has_window
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-media] Replace deprecated gtk_fixed_set_has_window
- Date: Sun, 17 Jan 2010 18:45:17 +0000 (UTC)
commit 093aece59770a1ff62c04c0b46153d38b74aaf2d
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Sun Jan 17 19:41:23 2010 +0100
Replace deprecated gtk_fixed_set_has_window
gst-mixer/src/volume.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gst-mixer/src/volume.c b/gst-mixer/src/volume.c
index b1bbd40..c391d6b 100644
--- a/gst-mixer/src/volume.c
+++ b/gst-mixer/src/volume.c
@@ -70,7 +70,11 @@ gnome_volume_control_volume_class_init (GnomeVolumeControlVolumeClass *klass)
static void
gnome_volume_control_volume_init (GnomeVolumeControlVolume *vol)
{
+ #if GTK_CHECK_VERSION(2,18,0)
+ gtk_widget_set_has_window (GTK_WIDGET (vol), TRUE);
+ #else
gtk_fixed_set_has_window (GTK_FIXED (vol), TRUE);
+ #endif
vol->mixer = NULL;
vol->track = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]