From 3a56db662e2214b9a16c9309e2bfde6438d67c61 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Fri, 2 Nov 2012 13:56:00 -0700 Subject: [PATCH] fixed missed thread calls in sview --- src/sview/common.c | 4 ++-- src/sview/front_end_info.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sview/common.c b/src/sview/common.c index 6885c2187eb..f29bff72ca3 100644 --- a/src/sview/common.c +++ b/src/sview/common.c @@ -2135,8 +2135,8 @@ extern void display_edit_note(char *edit_note) msg_id = gtk_statusbar_push(GTK_STATUSBAR(main_statusbar), STATUS_ADMIN_EDIT, edit_note); - if (!g_thread_create(_editing_thr, GINT_TO_POINTER(msg_id), - FALSE, &error)) + if (!sview_thread_new(_editing_thr, GINT_TO_POINTER(msg_id), + FALSE, &error)) g_printerr("Failed to create edit thread: %s\n", error->message); diff --git a/src/sview/front_end_info.c b/src/sview/front_end_info.c index d5baaf10a78..fac58a84b71 100644 --- a/src/sview/front_end_info.c +++ b/src/sview/front_end_info.c @@ -911,7 +911,7 @@ extern void popup_all_front_end(GtkTreeModel *model, GtkTreeIter *iter, int id) default: g_print("resv got unknown type %d\n", id); } - if (!g_thread_create((gpointer)popup_thr, popup_win, FALSE, &error)) { + if (!sview_thread_new((gpointer)popup_thr, popup_win, FALSE, &error)) { g_printerr ("Failed to create resv popup thread: %s\n", error->message); return; -- GitLab