[libgda/LIBGDA_5.2: 1/5] Markup message correction
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_5.2: 1/5] Markup message correction
- Date: Tue, 11 Dec 2018 18:26:20 +0000 (UTC)
commit aaf64c1baf3f06e675a62a91a92f50e59de1404b
Author: Vivien Malerba <malerba gnome-db org>
Date: Wed Apr 16 14:59:50 2014 +0200
Markup message correction
libgda-ui/demos/ddl_queries.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgda-ui/demos/ddl_queries.c b/libgda-ui/demos/ddl_queries.c
index 50f9e875d..c5d69f612 100644
--- a/libgda-ui/demos/ddl_queries.c
+++ b/libgda-ui/demos/ddl_queries.c
@@ -506,9 +506,9 @@ show_sql (G_GNUC_UNUSED GtkButton *button, DemoData *data)
else
msg = g_strdup_printf ("<b>SQL:</b>\n%s", sql);
- dlg = gtk_message_dialog_new_with_markup (GTK_WINDOW (data->top_window),
- GTK_DIALOG_MODAL,
- msg_type, GTK_BUTTONS_CLOSE, msg);
+ dlg = gtk_message_dialog_new (GTK_WINDOW (data->top_window),
+ GTK_DIALOG_MODAL, msg_type, GTK_BUTTONS_CLOSE, NULL);
+ gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (dlg), msg);
g_free (sql);
g_free (msg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]