[nautilus] [eel] GSEAL eel-alert-dialog.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] [eel] GSEAL eel-alert-dialog.
- Date: Fri, 11 Jun 2010 11:27:00 +0000 (UTC)
commit dae50fa5b6aeb4f811fb0d8e35da999138653cd9
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jun 11 13:06:17 2010 +0200
[eel] GSEAL eel-alert-dialog.
eel/eel-alert-dialog.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/eel/eel-alert-dialog.c b/eel/eel-alert-dialog.c
index 9813fd9..59b5a1e 100644
--- a/eel/eel-alert-dialog.c
+++ b/eel/eel-alert-dialog.c
@@ -199,7 +199,7 @@ eel_alert_dialog_init (EelAlertDialog *dialog)
FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), hbox,
+ gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), hbox,
FALSE, FALSE, 0);
gtk_widget_show_all (hbox);
@@ -352,7 +352,7 @@ eel_alert_dialog_new (GtkWindow *parent,
dialog = GTK_DIALOG (widget);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
- gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 14);
+ gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 14);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
gtk_dialog_set_has_separator (dialog, FALSE);
@@ -451,7 +451,7 @@ eel_alert_dialog_style_set (GtkWidget *widget,
border_width = 0;
- parent = GTK_WIDGET (EEL_ALERT_DIALOG (widget)->details->image->parent);
+ parent = GTK_WIDGET (gtk_widget_get_parent (EEL_ALERT_DIALOG (widget)->details->image));
if (parent != NULL) {
gtk_widget_style_get (widget, "alert_border",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]