summaryrefslogtreecommitdiff
path: root/src/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg.c')
-rw-r--r--src/msg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/msg.c b/src/msg.c
index 5b8e7a9..1fa3645 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -84,7 +84,7 @@ zenity_label_widget_clipboard_selection (GtkWidget *widget)
void
zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
{
- GtkBuilder *builder;
+ g_autoptr(GtkBuilder) builder;
GtkWidget *dialog;
GtkWidget *ok_button;
GObject *text;
@@ -248,8 +248,6 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
NULL);
}
- g_object_unref (builder);
-
zenity_util_gapp_main (GTK_WINDOW(dialog));
}