Eliminate compiler warnings
2001-12-20 Bradford Hovinen <hovinen@ximian.com> * capplet-dir-view-list.c: Eliminate compiler warnings * preferences.c: Eliminate compiler warnings * capplet-dir-view.c: Eliminate compiler warnings * capplet-dir.c: Eliminate compiler warnings * main.c: Eliminate compiler warnings
This commit is contained in:
parent
1afc14e0c4
commit
894a0a1c3a
7 changed files with 44 additions and 52 deletions
|
@ -250,22 +250,13 @@ capplet_activate (Capplet *capplet)
|
|||
|
||||
entry = CAPPLET_DIR_ENTRY (capplet);
|
||||
|
||||
#warning FIXME: this should probably be root-manager-helper
|
||||
#if 0
|
||||
if (!strncmp (entry->exec[0], "root-manager", strlen ("root-manager"))) {
|
||||
start_capplet_through_root_manager (entry->entry);
|
||||
if (capplet->launching) {
|
||||
return;
|
||||
} else {
|
||||
#endif
|
||||
if (capplet->launching) {
|
||||
return;
|
||||
} else {
|
||||
capplet->launching = TRUE;
|
||||
gtk_timeout_add (1000, (GtkFunction) capplet_reset_cb, capplet);
|
||||
gnome_desktop_item_launch (entry->entry, NULL, 0, NULL);
|
||||
}
|
||||
#if 0
|
||||
capplet->launching = TRUE;
|
||||
gtk_timeout_add (1000, (GtkFunction) capplet_reset_cb, capplet);
|
||||
gnome_desktop_item_launch (entry->entry, NULL, 0, NULL);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue