Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
xfce4-panel-plugins
xfce4-cpufreq-plugin-0.0.1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-cpufreq-plugin-0.0.1.patch of Package xfce4-panel-plugins
Index: xfce4-cpu-freq-plugin-0.0.1/panel-plugin/cpu-freq-monitor.c =================================================================== --- xfce4-cpu-freq-plugin-0.0.1/panel-plugin/cpu-freq-monitor.c.orig +++ xfce4-cpu-freq-plugin-0.0.1/panel-plugin/cpu-freq-monitor.c @@ -25,6 +25,7 @@ #include "cpu-freq-monitor.h" #include <dirent.h> +#include <unistd.h> static gint compare_str (gconstpointer a, gconstpointer b) @@ -49,7 +50,7 @@ file_modified (gpointer data) if (!g_file_test (filePath, G_FILE_TEST_EXISTS)) { g_free (filePath); - return; + return FALSE; } file = fopen (filePath, "r"); @@ -67,7 +68,7 @@ file_modified (gpointer data) if (!g_file_test (filePath, G_FILE_TEST_EXISTS)) { g_free (filePath); - return; + return FALSE; } file = fopen (filePath, "r"); @@ -175,7 +176,7 @@ cpu_add (gint cpu_number, gchar* path) freq = atoi (tokens[i]); cpu->available_freqs = g_list_append ( cpu->available_freqs, - freq); + (gpointer)(intptr_t)freq); i++; } g_strfreev (tokens);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor