diff options
Diffstat (limited to 'src/msg.c')
-rw-r--r-- | src/msg.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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)); } |