[Xfce4-commits] [panel-plugins/xfce4-timer-plugin] 02/03: Remove unused eventbox
noreply at xfce.org
noreply at xfce.org
Sat Nov 2 22:45:39 CET 2019
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 1c30ac50d7f90e3e90f53b9932d432b797715ed3
Author: Andre Miranda <andreldm at xfce.org>
Date: Sat Nov 2 18:40:40 2019 -0300
Remove unused eventbox
---
panel-plugin/xfcetimer.c | 3 +--
panel-plugin/xfcetimer.h | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/panel-plugin/xfcetimer.c b/panel-plugin/xfcetimer.c
index 46d85ec..58e5ec6 100644
--- a/panel-plugin/xfcetimer.c
+++ b/panel-plugin/xfcetimer.c
@@ -1371,7 +1371,7 @@ plugin_free (XfcePanelPlugin *plugin, plugin_data *pd)
g_list_free (pd->alarm_list);
/* destroy all widgets */
- gtk_widget_destroy (GTK_WIDGET (pd->eventbox));
+ gtk_widget_destroy (GTK_WIDGET (pd->box));
/* free the plugin data structure */
g_free (pd);
@@ -1760,7 +1760,6 @@ create_plugin_control (XfcePanelPlugin *plugin)
G_TYPE_STRING, /* Column 1: Name */
G_TYPE_STRING, /* Column 2: Timer period/alarm time - info string */
G_TYPE_STRING); /* Command to run */
- pd->eventbox = gtk_event_box_new ();
pd->box = NULL;
pd->buttonadd = NULL;
pd->buttonedit = NULL;
diff --git a/panel-plugin/xfcetimer.h b/panel-plugin/xfcetimer.h
index 7470c67..0d7fe36 100644
--- a/panel-plugin/xfcetimer.h
+++ b/panel-plugin/xfcetimer.h
@@ -36,7 +36,6 @@ typedef struct
typedef struct
{
- GtkWidget *eventbox; /* Main container widget in ctrl->base */
GtkWidget *box; /* v/hbox that holds pbar */
GtkWidget *pbar; /* Progress bar */
GtkWidget *tree; /* Treeview */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list