[Xfce4-commits] <xfburn:master> g_thread_create -> g_thread_new
David Mohr
noreply at xfce.org
Mon Dec 9 08:14:01 CET 2013
Updating branch refs/heads/master
to 295971642a1c154ec354a293338e760c02294201 (commit)
from d1c51cec666de49ecfeb363273547783ceb083eb (commit)
commit 295971642a1c154ec354a293338e760c02294201
Author: David Mohr <david at mcbf.net>
Date: Tue Dec 3 21:15:37 2013 -0700
g_thread_create -> g_thread_new
xfburn/xfburn-audio-composition.c | 8 ++++----
xfburn/xfburn-blank-dialog.c | 2 +-
xfburn/xfburn-burn-audio-cd-composition-dialog.c | 2 +-
xfburn/xfburn-burn-data-composition-base-dialog.c | 4 ++--
xfburn/xfburn-burn-image-dialog.c | 2 +-
xfburn/xfburn-data-composition.c | 8 ++++----
6 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/xfburn/xfburn-audio-composition.c b/xfburn/xfburn-audio-composition.c
index 6ae76c1..dcb2e78 100644
--- a/xfburn/xfburn-audio-composition.c
+++ b/xfburn/xfburn-audio-composition.c
@@ -1027,7 +1027,7 @@ action_add_selected_files (GtkAction *action, XfburnAudioComposition *dc)
priv->selected_files = selected_files;
priv->thread_params = params;
- g_thread_create ((GThreadFunc) thread_add_files_action, params, FALSE, NULL);
+ g_thread_new ("audio_add_selected", (GThreadFunc) thread_add_files_action, params);
g_list_foreach (selected_paths, (GFunc) gtk_tree_path_free, NULL);
g_list_free (selected_paths);
@@ -1788,7 +1788,7 @@ cb_content_drag_data_rcv (GtkWidget * widget, GdkDragContext * dc, guint x, guin
gtk_tree_store_append (GTK_TREE_STORE (model), ¶ms->iter_dummy, NULL);
priv->thread_params = params;
- g_thread_create ((GThreadFunc) thread_add_files_drag, params, FALSE, NULL);
+ g_thread_new ("add_files_drag", (GThreadFunc) thread_add_files_drag, params);
gtk_drag_finish (dc, TRUE, FALSE, t);
} else {
@@ -1851,7 +1851,7 @@ cb_content_drag_data_rcv (GtkWidget * widget, GdkDragContext * dc, guint x, guin
gtk_tree_store_append (GTK_TREE_STORE (model), ¶ms->iter_dummy, NULL);
priv->thread_params = params;
- g_thread_create ((GThreadFunc) thread_add_files_drag, params, FALSE, NULL);
+ g_thread_new ("audio_add_uri_list", (GThreadFunc) thread_add_files_drag, params);
gtk_drag_finish (dc, TRUE, FALSE, t);
} else {
@@ -2184,7 +2184,7 @@ xfburn_audio_composition_add_files (XfburnAudioComposition *dc, GSList * filelis
xfburn_busy_cursor (priv->content);
priv->thread_params = params;
- g_thread_create ((GThreadFunc) thread_add_files_cli, params, FALSE, NULL);
+ g_thread_new ("audio_add_files_cli", (GThreadFunc) thread_add_files_cli, params);
}
}
diff --git a/xfburn/xfburn-blank-dialog.c b/xfburn/xfburn-blank-dialog.c
index 638770d..b59abab 100644
--- a/xfburn/xfburn-blank-dialog.c
+++ b/xfburn/xfburn-blank-dialog.c
@@ -515,7 +515,7 @@ xfburn_blank_dialog_response_cb (XfburnBlankDialog * dialog, gint response_id, g
params->device = device;
params->blank_mode = get_selected_mode (priv);
params->eject = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->check_eject));
- g_thread_create ((GThreadFunc) thread_blank, params, FALSE, NULL);
+ g_thread_new ("xfburn_blank", (GThreadFunc) thread_blank, params);
} else {
xfburn_main_leave_window ();
}
diff --git a/xfburn/xfburn-burn-audio-cd-composition-dialog.c b/xfburn/xfburn-burn-audio-cd-composition-dialog.c
index 66a32cf..b67696c 100644
--- a/xfburn/xfburn-burn-audio-cd-composition-dialog.c
+++ b/xfburn/xfburn-burn-audio-cd-composition-dialog.c
@@ -461,7 +461,7 @@ cb_dialog_response (XfburnBurnAudioCdCompositionDialog * dialog, gint response_i
params->eject = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->check_eject));
params->dummy = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->check_dummy));
params->burnfree = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->check_burnfree));
- g_thread_create ((GThreadFunc) thread_burn_composition, params, FALSE, NULL);
+ g_thread_new ("audio_cd_burn", (GThreadFunc) thread_burn_composition, params);
}
}
diff --git a/xfburn/xfburn-burn-data-composition-base-dialog.c b/xfburn/xfburn-burn-data-composition-base-dialog.c
index ab11281..f789acc 100644
--- a/xfburn/xfburn-burn-data-composition-base-dialog.c
+++ b/xfburn/xfburn-burn-data-composition-base-dialog.c
@@ -671,7 +671,7 @@ cb_dialog_response (XfburnBurnDataCompositionBaseDialog * dialog, gint response_
params->dialog_progress = dialog_progress;
params->src = src;
params->iso_path = g_strdup (gtk_entry_get_text (GTK_ENTRY (priv->entry_path_iso)));
- g_thread_create ((GThreadFunc) thread_write_iso, params, FALSE, NULL);
+ g_thread_new ("burn_iso", (GThreadFunc) thread_write_iso, params);
}
else {
ThreadBurnCompositionParams *params = NULL;
@@ -698,7 +698,7 @@ cb_dialog_response (XfburnBurnDataCompositionBaseDialog * dialog, gint response_
params->eject = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->check_eject));
params->dummy = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->check_dummy));
params->burnfree = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->check_burnfree));
- g_thread_create ((GThreadFunc) thread_burn_composition, params, FALSE, NULL);
+ g_thread_new ("burn_composition", (GThreadFunc) thread_burn_composition, params);
}
}
}
diff --git a/xfburn/xfburn-burn-image-dialog.c b/xfburn/xfburn-burn-image-dialog.c
index d6746e9..65b8160 100644
--- a/xfburn/xfburn-burn-image-dialog.c
+++ b/xfburn/xfburn-burn-image-dialog.c
@@ -449,7 +449,7 @@ cb_dialog_response (XfburnBurnImageDialog * dialog, gint response_id, gpointer u
priv->params->dialog_progress = dialog_progress;
gtk_widget_show (dialog_progress);
- g_thread_create ((GThreadFunc) thread_burn_iso, priv->params, FALSE, NULL);
+ g_thread_new ("burn_iso", (GThreadFunc) thread_burn_iso, priv->params);
} else {
xfburn_main_leave_window ();
}
diff --git a/xfburn/xfburn-data-composition.c b/xfburn/xfburn-data-composition.c
index cd3cd5f..fdbde07 100644
--- a/xfburn/xfburn-data-composition.c
+++ b/xfburn/xfburn-data-composition.c
@@ -1012,7 +1012,7 @@ add_files(gchar * selected_files, XfburnDataComposition *dc)
priv->selected_files = selected_files;
priv->thread_params = params;
- g_thread_create ((GThreadFunc) thread_add_files_action, params, FALSE, NULL);
+ g_thread_new ("data_add_files", (GThreadFunc) thread_add_files_action, params);
g_list_foreach (selected_paths, (GFunc) gtk_tree_path_free, NULL);
g_list_free (selected_paths);
@@ -1772,7 +1772,7 @@ cb_content_drag_data_rcv (GtkWidget * widget, GdkDragContext * dc, guint x, guin
gtk_tree_store_append (GTK_TREE_STORE (model), ¶ms->iter_dummy, NULL);
priv->thread_params = params;
- g_thread_create ((GThreadFunc) thread_add_files_drag, params, FALSE, NULL);
+ g_thread_new ("data_add_dnd_plain", (GThreadFunc) thread_add_files_drag, params);
}
gtk_drag_finish (dc, TRUE, FALSE, t);
@@ -1830,7 +1830,7 @@ cb_content_drag_data_rcv (GtkWidget * widget, GdkDragContext * dc, guint x, guin
gtk_tree_store_append (GTK_TREE_STORE (model), ¶ms->iter_dummy, NULL);
priv->thread_params = params;
- g_thread_create ((GThreadFunc) thread_add_files_drag, params, FALSE, NULL);
+ g_thread_new ("data_add_dnd_uri", (GThreadFunc) thread_add_files_drag, params);
gtk_drag_finish (dc, TRUE, FALSE, t);
} else {
@@ -2269,7 +2269,7 @@ xfburn_data_composition_add_files (XfburnDataComposition *dc, GSList * filelist)
xfburn_busy_cursor (priv->content);
priv->thread_params = params;
- g_thread_create ((GThreadFunc) thread_add_files_cli, params, FALSE, NULL);
+ g_thread_new ("data_add_files_cli", (GThreadFunc) thread_add_files_cli, params);
}
}
More information about the Xfce4-commits
mailing list