]> Pileus Git - ~andy/sunrise/blob - gnome-extra/gnome-hdaps-applet/files/gnome-hdaps-applet-20081204-include-and-unused.patch
x11-plugins/thinkhdaps moved to tree
[~andy/sunrise] / gnome-extra / gnome-hdaps-applet / files / gnome-hdaps-applet-20081204-include-and-unused.patch
1 --- gnome-hdaps-applet.c        2008-12-04 22:58:58.000000000 +0100
2 +++ gnome-hdaps-applet.c        2010-04-04 02:16:48.000000000 +0200
3 @@ -21,6 +21,8 @@
4  #include <string.h>
5  #include <panel-applet.h>
6  #include <gtk/gtk.h>
7 +#include <unistd.h>
8 +#include <stdlib.h>
9  
10  #define BUF_LEN                                32
11  #define SYSFS_PROTECT_FILE_HDA         "/sys/block/hda/queue/protect"
12 @@ -50,8 +52,6 @@
13         GtkWidget *image = gdata;
14         GtkWidget *applet;
15         GtkTooltipsData *tooltips_data;
16 -       static int timerval = 0;
17 -       gchar *text_label;
18         int status;
19  
20         applet = image->parent;