[Goodies-commits] r2814 - xfce4-timer-plugin/trunk/src
Kemal Eroglu
ilgar at xfce.org
Wed Jun 6 12:13:50 CEST 2007
Author: ilgar
Date: 2007-06-06 10:13:49 +0000 (Wed, 06 Jun 2007)
New Revision: 2814
Modified:
xfce4-timer-plugin/trunk/src/xfcetimer.c
Log:
Corrected the double parantheses at the xfce_create_header call.
Modified: xfce4-timer-plugin/trunk/src/xfcetimer.c
===================================================================
--- xfce4-timer-plugin/trunk/src/xfcetimer.c 2007-06-04 09:18:49 UTC (rev 2813)
+++ xfce4-timer-plugin/trunk/src/xfcetimer.c 2007-06-06 10:13:49 UTC (rev 2814)
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-
+
#define TIMEOUT_TIME 2000 /* Countdown update period in milliseconds */
#define PBAR_THICKNESS 10
@@ -876,7 +876,7 @@
groupnum=0;
g_sprintf(groupname,"G0");
-
+
while(xfce_rc_has_group(rc,groupname)){
xfce_rc_set_group(rc,groupname);
@@ -1041,15 +1041,15 @@
static void
plugin_free (XfcePanelPlugin *plugin, plugin_data *pd)
{
- /*plugin_data *pd;
-
- g_return_if_fail(ctrl != NULL);
- g_return_if_fail(ctrl-> data != NULL);
-
- pd = (plugin_data*) ctrl->data;*/
-
- /* remove timeouts */
- if (pd->timeout!=0) g_source_remove(pd->timeout);
+ /*plugin_data *pd;
+
+ g_return_if_fail(ctrl != NULL);
+ g_return_if_fail(ctrl-> data != NULL);
+
+ pd = (plugin_data*) ctrl->data;*/
+
+ /* remove timeouts */
+ if (pd->timeout!=0) g_source_remove(pd->timeout);
if (pd->repeat_timeout!=0) g_source_remove(pd->repeat_timeout);
/*save_settings(pd);*/
@@ -1064,10 +1064,10 @@
if(pd->menuarray)
g_array_free(pd->menuarray,TRUE);
-
- /* destroy all widgets */
- gtk_widget_destroy(GTK_WIDGET(pd->eventbox));
+ /* destroy all widgets */
+ gtk_widget_destroy(GTK_WIDGET(pd->eventbox));
+
/* destroy the tooltips */
/*gtk_object_destroy(GTK_OBJECT(pd->tip));*/
@@ -1075,8 +1075,8 @@
// g_free(pd->list);
//else
// g_fprintf(stderr,"\npd->list is non-object");
-
- /* free the plugin data structure */
+
+ /* free the plugin data structure */
g_free(pd);
gtk_main_quit();
@@ -1171,7 +1171,7 @@
gtk_container_set_border_width (GTK_CONTAINER (dlg), 2);
- header = xfce_create_header (NULL, _(_("Xfce4 Timer Options")));
+ header = xfce_create_header (NULL, _("Xfce4 Timer Options"));
gtk_widget_set_size_request (GTK_BIN (header)->child, 200, 32);
gtk_container_set_border_width (GTK_CONTAINER (header), 6);
gtk_widget_show (header);
More information about the Goodies-commits
mailing list