[Xfce4-commits] [panel-plugins/xfce4-timer-plugin] 13/22: Deleted unused variables
noreply at xfce.org
noreply at xfce.org
Sat Dec 30 06:16:34 CET 2017
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-timer-plugin.
commit 375df25fe28b7f6e745671489de4a205d764b9f0
Author: Daniel Muñiz Fontoira <dani at damufo.com>
Date: Wed Dec 13 11:46:40 2017 +0100
Deleted unused variables
---
panel-plugin/xfcetimer.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/panel-plugin/xfcetimer.c b/panel-plugin/xfcetimer.c
index 2c900af..66e8ae1 100644
--- a/panel-plugin/xfcetimer.c
+++ b/panel-plugin/xfcetimer.c
@@ -268,11 +268,9 @@ static void timer_selected (GtkWidget* menuitem, gpointer data){
static void start_timer (plugin_data *pd){
- GSList *group=NULL;
gchar temp[8];
- gint row_count,cur_h,cur_m,cur_s,time;
+ gint cur_h,cur_m,cur_s;
gint timeout_period;
- gboolean is_cd;
GTimeVal timeval;
struct tm *current;
alarm_t *alrm;
@@ -350,14 +348,16 @@ static void start_stop_selected (GtkWidget* menuitem, gpointer
data){
plugin_data *pd=(plugin_data *)data;
- GSList *group=NULL;
- gchar temp[8];
- gint row_count,cur_h,cur_m,cur_s,time;
- gint timeout_period;
- gboolean is_cd;
- GTimeVal timeval;
- struct tm *current;
- alarm_t *alrm;
+
+
+
+
+
+
+
+
+
+
/* If counting down, we stop the timer and free the resources */
if(pd->timer_on){
@@ -470,7 +470,7 @@ void make_menu(plugin_data *pd){
GSList *group = NULL;
GList *list = NULL;
alarm_t *alrm;
- GtkWidget *menuitem, *to_be_activated;
+ GtkWidget *menuitem;
gchar *itemtext;
@@ -771,7 +771,7 @@ static void add_edit_clicked (GtkButton *buttonn, gpointer data){
GtkRadioButton *rb1,*rb2;
GtkWidget *hbox,*vbox,*button;
alarm_data *adata=g_new0(alarm_data,1);
- gchar *nc; gboolean is_cd; gint time;
+ gint time;
GtkTreeIter iter;
GtkTreeSelection *select;
GtkTreeModel *model;
@@ -1752,8 +1752,8 @@ Cheng-Chia Tseng <pswo10680 at gmail.com>\n";
static void create_plugin_control (XfcePanelPlugin *plugin)
{
- GtkWidget *base,*menu,*socket,*menuitem,*box,*pbar2;
- char command[1024];
+
+
gchar *filename,*pathname;
plugin_data *pd=g_new0(plugin_data, 1);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list