[gnome-media/gnome-2-32] profiles: compile with GSEAL
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-media/gnome-2-32] profiles: compile with GSEAL
- Date: Wed, 4 Aug 2010 13:24:19 +0000 (UTC)
commit 1bf53340ab61fe1c1e18cd954209779ab7c583e2
Author: Marc-André Lureau <marcandre lureau gmail com>
Date: Wed Mar 10 23:43:54 2010 +0000
profiles: compile with GSEAL
https://bugzilla.gnome.org/show_bug.cgi?id=612479
profiles/audio-profiles-edit.c | 8 ++++----
profiles/gmp-util.c | 3 +--
2 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/profiles/audio-profiles-edit.c b/profiles/audio-profiles-edit.c
index 23c1681..0e8ca89 100644
--- a/profiles/audio-profiles-edit.c
+++ b/profiles/audio-profiles-edit.c
@@ -598,9 +598,9 @@ gm_audio_profiles_edit_init (GMAudioProfilesEdit *dialog)
gtk_dialog_set_has_separator (gdialog, FALSE);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
- gtk_box_set_spacing (GTK_BOX (gdialog->vbox), 2); /* 2 * 5 + 2 = 12 */
- gtk_container_set_border_width (GTK_CONTAINER (gdialog->action_area), 5);
- gtk_box_set_spacing (GTK_BOX (gdialog->action_area), 6);
+ gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (gdialog)), 2); /* 2 * 5 + 2 = 12 */
+ gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (gdialog)), 5);
+ gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (gdialog)), 6);
g_signal_connect (GTK_DIALOG (dialog),
"response",
@@ -614,7 +614,7 @@ gm_audio_profiles_edit_init (GMAudioProfilesEdit *dialog)
vbox = gtk_vbox_new (FALSE, 6);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
- gtk_box_pack_start (GTK_BOX (gdialog->vbox),
+ gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (gdialog)),
vbox, TRUE, TRUE, 0);
/* FIXME
diff --git a/profiles/gmp-util.c b/profiles/gmp-util.c
index 6d9d29f..01bc2e5 100644
--- a/profiles/gmp-util.c
+++ b/profiles/gmp-util.c
@@ -157,8 +157,7 @@ gmp_util_show_error_dialog (GtkWindow *transient_parent,
{
g_return_if_fail (GTK_IS_MESSAGE_DIALOG (*weak_ptr));
- gtk_label_set_text (GTK_LABEL (GTK_MESSAGE_DIALOG (*weak_ptr)->label),
- message);
+ g_object_set (*weak_ptr, "text", message);
gtk_window_present (GTK_WINDOW (*weak_ptr));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]