aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-alert-dialog.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-09 00:56:33 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-09 01:00:00 +0800
commit2fa4ec1334a90d22c9a54d150d6e4722be9bfe1c (patch)
tree0ed8a173410abe5dd37ee4e887e4ae62b80366aa /e-util/e-alert-dialog.c
parentdd65b18ddf2f4e7fdc108b0ed147658c36103eea (diff)
downloadgsoc2013-evolution-2fa4ec1334a90d22c9a54d150d6e4722be9bfe1c.tar.gz
gsoc2013-evolution-2fa4ec1334a90d22c9a54d150d6e4722be9bfe1c.tar.zst
gsoc2013-evolution-2fa4ec1334a90d22c9a54d150d6e4722be9bfe1c.zip
rename e_alert_get_buttons -> e_alert_peek_buttons
Make it obvious that this does not need to be freed like the other things that use get_* (e.g. e_alert_get_title)
Diffstat (limited to 'e-util/e-alert-dialog.c')
-rw-r--r--e-util/e-alert-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-alert-dialog.c b/e-util/e-alert-dialog.c
index eb89e68fe6..a14df698e2 100644
--- a/e-util/e-alert-dialog.c
+++ b/e-util/e-alert-dialog.c
@@ -158,7 +158,7 @@ e_alert_dialog_constructed (GObject *obj)
g_signal_connect(self, "response", G_CALLBACK(dialog_response_cb), NULL);
}
- b = e_alert_get_buttons (alert);
+ b = e_alert_peek_buttons (alert);
if (b == NULL) {
gtk_dialog_add_button((GtkDialog*) self, GTK_STOCK_OK, GTK_RESPONSE_OK);
} else {