diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-10-20 18:57:26 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-10-20 18:57:26 +0000 |
commit | f806432288087bfb1e29b23c658fde05941fbe89 (patch) | |
tree | 4e9663f2f41c11ac1f2b0e9f1438a0392abc48ab /gtk/main_welcome.c | |
parent | 95ae2fe13a49c6f8bdf95554b9488f4a5160ebcd (diff) |
Use g_strdup.
svn path=/trunk/; revision=39496
Diffstat (limited to 'gtk/main_welcome.c')
-rw-r--r-- | gtk/main_welcome.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/main_welcome.c b/gtk/main_welcome.c index 82406e7fa9..aad9f8215d 100644 --- a/gtk/main_welcome.c +++ b/gtk/main_welcome.c @@ -767,7 +767,7 @@ gboolean on_selection_changed(GtkTreeSelection *selection _U_, g_array_insert_val(global_capture_opts.all_ifaces, i, device); if (dlg_window_present()) { - enable_selected_interface(strdup(if_name), device.selected); + enable_selected_interface(g_strdup(if_name), device.selected); } if (interfaces_dialog_window_present()) { update_selected_interface(g_strdup(if_name)); |