aboutsummaryrefslogtreecommitdiff
path: root/src/setup/gnunet-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup/gnunet-setup.c')
-rw-r--r--src/setup/gnunet-setup.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/setup/gnunet-setup.c b/src/setup/gnunet-setup.c
index a2c26f73..262645a1 100644
--- a/src/setup/gnunet-setup.c
+++ b/src/setup/gnunet-setup.c
@@ -247,7 +247,8 @@ load_options ()
247 247
248#ifndef LINUX 248#ifndef LINUX
249 gtk_widget_hide (GTK_WIDGET ( 249 gtk_widget_hide (GTK_WIDGET (
250 GNUNET_SETUP_get_object ("GNUNET_setup_gns_hijack_checkbutton"))); 250 GNUNET_SETUP_get_object (
251 "GNUNET_setup_gns_hijack_checkbutton")));
251#endif 252#endif
252 for (unsigned int i = 0; NULL != option_specifications[i].widget_name; i++) 253 for (unsigned int i = 0; NULL != option_specifications[i].widget_name; i++)
253 { 254 {
@@ -396,7 +397,6 @@ try_gksu (const char *username)
396 struct GNUNET_OS_Process *proc; 397 struct GNUNET_OS_Process *proc;
397 398
398 proc = GNUNET_OS_start_process ( 399 proc = GNUNET_OS_start_process (
399 GNUNET_NO,
400 GNUNET_OS_INHERIT_STD_ALL, 400 GNUNET_OS_INHERIT_STD_ALL,
401 NULL, 401 NULL,
402 NULL, 402 NULL,
@@ -417,6 +417,8 @@ try_gksu (const char *username)
417 GNUNET_OS_process_destroy (proc); 417 GNUNET_OS_process_destroy (proc);
418 return GNUNET_OK; 418 return GNUNET_OK;
419} 419}
420
421
420#endif 422#endif
421 423
422 424
@@ -430,8 +432,7 @@ GNUNET_setup_launch_edit_friends_button_clicked_cb (GtkButton *button,
430{ 432{
431 struct GNUNET_OS_Process *proc; 433 struct GNUNET_OS_Process *proc;
432 434
433 proc = GNUNET_OS_start_process (GNUNET_NO, 435 proc = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ALL,
434 GNUNET_OS_INHERIT_STD_ALL,
435 NULL, 436 NULL,
436 NULL, 437 NULL,
437 NULL, 438 NULL,
@@ -543,7 +544,8 @@ main (int argc, char *const *argv)
543 "run as user 'gnunet', if necessary by executing gksu to elevate rights"), 544 "run as user 'gnunet', if necessary by executing gksu to elevate rights"),
544 &do_gksu), 545 &do_gksu),
545#endif 546#endif
546 GNUNET_GETOPT_OPTION_END}; 547 GNUNET_GETOPT_OPTION_END
548 };
547 int ret; 549 int ret;
548 550
549 if (GNUNET_OK == GNUNET_GTK_main_loop_start ("gnunet-setup", 551 if (GNUNET_OK == GNUNET_GTK_main_loop_start ("gnunet-setup",
@@ -559,4 +561,5 @@ main (int argc, char *const *argv)
559 return ret; 561 return ret;
560} 562}
561 563
564
562/* end of gnunet-setup.c */ 565/* end of gnunet-setup.c */