Fix compiler warnings (original patches from Enrico Tröger)

Add missing include for geteuid() missing declaration
xtm_process_window_show_swap_usage() in process-window.
Fix various compiler warnings from main.c task-manager.c and
app-manager.c.
This commit is contained in:
Mike Massonnet
2010-06-06 14:00:54 +02:00
parent bdeff4e269
commit 81bdc6d2ba
5 changed files with 25 additions and 20 deletions

View File

@@ -26,7 +26,7 @@ static XtmTaskManager *task_manager;
static gboolean timeout = 0;
static void
status_icon_activated ()
status_icon_activated (void)
{
if (!(GTK_WIDGET_VISIBLE (window)))
gtk_widget_show (window);
@@ -35,7 +35,7 @@ status_icon_activated ()
}
static void
show_hide_status_icon ()
show_hide_status_icon (void)
{
gboolean show_status_icon;
g_object_get (settings, "show-status-icon", &show_status_icon, NULL);
@@ -96,7 +96,7 @@ force_timeout_update (void)
}
static void
refresh_rate_changed (XtmSettings *settings)
refresh_rate_changed (void)
{
if (!g_source_remove (timeout))
{