[Xfce4-commits] <xfce4-mailwatch-plugin:master> Delete unused variables and code

Ján Sučan noreply at xfce.org
Fri Aug 30 14:08:02 CEST 2013


Updating branch refs/heads/master
         to 6602a2e8c4e5e12cf719832c40b2c2dcd635ff7e (commit)
       from 2bc3ecf116fb5bfa7709fca27e5704b341f6f5af (commit)

commit 6602a2e8c4e5e12cf719832c40b2c2dcd635ff7e
Author: Ján Sučan <sucan at runbox.com>
Date:   Fri Aug 30 14:04:23 2013 +0200

    Delete unused variables and code

 panel-plugin/mailwatch-plugin.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/panel-plugin/mailwatch-plugin.c b/panel-plugin/mailwatch-plugin.c
index 3497ff9..b7920ae 100644
--- a/panel-plugin/mailwatch-plugin.c
+++ b/panel-plugin/mailwatch-plugin.c
@@ -69,8 +69,6 @@ typedef struct
     GdkPixbuf               *pix_log[XFCE_MAILWATCH_N_LOG_LEVELS];
     XfceMailwatchLogLevel   log_status;
     GtkListStore            *loglist;
-
-    GtkWidget *about_dialog;
 } XfceMailwatchPlugin;
 
 enum {
@@ -999,9 +997,6 @@ mailwatch_free(XfcePanelPlugin *plugin, XfceMailwatchPlugin *mwp)
 #ifdef HAVE_XFCE_POSIX_SIGNAL_HANDLER_INIT
     xfce_posix_signal_handler_restore_handler(SIGUSR2);
 #endif
-
-    if(mwp->about_dialog)
-        gtk_widget_destroy(mwp->about_dialog);
     
     xfce_mailwatch_destroy(mwp->mailwatch);
     
@@ -1035,7 +1030,6 @@ static void
 mailwatch_show_about(XfcePanelPlugin *plugin,
                      gpointer user_data)
 {
-    XfceMailwatchPlugin *mwp = user_data;
     GdkPixbuf *icon;
 
     const gchar *auth[] = { "Brian J. Tarricone bjt23 at cornell.edu Maintainer, Original Author",


More information about the Xfce4-commits mailing list