[empathy] fix GTK_BOX casts
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] fix GTK_BOX casts
- Date: Mon, 21 Nov 2011 10:23:01 +0000 (UTC)
commit d62de5ec41b47c695b8a5fabba27576cd640837b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Nov 21 11:22:52 2011 +0100
fix GTK_BOX casts
libempathy-gtk/empathy-account-widget.c | 2 +-
src/empathy-account-assistant.c | 2 +-
src/empathy-streamed-media-window.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index f1b463c..e314ad3 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -2193,7 +2193,7 @@ do_constructed (GObject *obj)
GtkWidget *hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
GtkWidget *image;
- gtk_box_set_homogeneous (hbox, TRUE);
+ gtk_box_set_homogeneous (GTK_BOX (hbox), TRUE);
/* We can't use the stock button as its accelerator ('C') clashes with
* the Close button. */
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index d6fc8a2..ecfd783 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -639,7 +639,7 @@ account_assistant_build_introduction_page (EmpathyAccountAssistant *self)
gtk_widget_show (w);
vbox_1 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
- gtk_box_set_homogeneous (vbox_1, TRUE);
+ gtk_box_set_homogeneous (GTK_BOX (vbox_1), TRUE);
gtk_container_add (GTK_CONTAINER (w), vbox_1);
gtk_widget_show (vbox_1);
diff --git a/src/empathy-streamed-media-window.c b/src/empathy-streamed-media-window.c
index 9bad57a..df3fbab 100644
--- a/src/empathy-streamed-media-window.c
+++ b/src/empathy-streamed-media-window.c
@@ -427,7 +427,7 @@ empathy_streamed_media_window_create_video_input (EmpathyStreamedMediaWindow *se
GtkWidget *hbox;
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
- gtk_box_set_homogeneous (hbox, TRUE);
+ gtk_box_set_homogeneous (GTK_BOX (hbox), TRUE);
priv->video_contrast = empathy_streamed_media_window_create_video_input_add_slider (
self, _("Contrast"), hbox);
@@ -535,7 +535,7 @@ empathy_streamed_media_window_create_audio_input (EmpathyStreamedMediaWindow *se
GtkWidget *hbox, *vbox, *label;
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
- gtk_box_set_homogeneous (hbox, TRUE);
+ gtk_box_set_homogeneous (GTK_BOX (hbox), TRUE);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 3);
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 3);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]