[Xfce4-commits] <xfce4-panel:devel> Remove tabs and trailing spaces.
Nick Schermer
nick at xfce.org
Tue Aug 11 20:34:10 CEST 2009
Updating branch refs/heads/devel
to 439f0c4c2b5128a19e407b575509f42b354c4066 (commit)
from fb2363d66fe7990586cc59fe3379e5282d33233f (commit)
commit 439f0c4c2b5128a19e407b575509f42b354c4066
Author: Nick Schermer <nick at xfce.org>
Date: Sun May 31 16:22:28 2009 +0200
Remove tabs and trailing spaces.
common/panel-xfconf.c | 2 +-
common/panel-xfconf.h | 6 +++---
libxfce4panel/xfce-panel-plugin.c | 2 +-
panel/panel-item-dialog.c | 14 +++++++-------
plugins/systray/systray-box.c | 4 ++--
plugins/systray/systray-socket.c | 20 ++++++++++----------
plugins/tasklist/tasklist.c | 2 +-
7 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/common/panel-xfconf.c b/common/panel-xfconf.c
index faacb58..6cb0679 100644
--- a/common/panel-xfconf.c
+++ b/common/panel-xfconf.c
@@ -67,7 +67,7 @@ panel_properties_object_notify (GObject *object,
g_object_get_property (object, g_param_spec_get_name (pspec), &value);
/* set the xfconf property, unfortunately function blocking is
- * pointless there because dbus is async. so we will receive
+ * pointless there because dbus is async. so we will receive
* a property-changed from the channel. */
xfconf_channel_set_property (binding->channel, binding->channel_prop,
&value);
diff --git a/common/panel-xfconf.h b/common/panel-xfconf.h
index 7c12732..ed28c77 100644
--- a/common/panel-xfconf.h
+++ b/common/panel-xfconf.h
@@ -31,9 +31,9 @@ struct _PanelProperty
void panel_properties_bind (XfconfChannel *channel,
GObject *object,
- const gchar *property_base,
- const PanelProperty *properties,
- GHashTable *hash_table);
+ const gchar *property_base,
+ const PanelProperty *properties,
+ GHashTable *hash_table);
void panel_properties_unbind (GObject *object);
diff --git a/libxfce4panel/xfce-panel-plugin.c b/libxfce4panel/xfce-panel-plugin.c
index c8c4fd5..4213d4b 100644
--- a/libxfce4panel/xfce-panel-plugin.c
+++ b/libxfce4panel/xfce-panel-plugin.c
@@ -1613,7 +1613,7 @@ xfce_panel_plugin_position_widget (XfcePanelPlugin *plugin,
/* get the root position of the attach widget */
gdk_window_get_origin (GDK_WINDOW (attach_widget->window), x, y);
-
+
/* add the widgets allocation */
*x += attach_widget->allocation.x;
*y += attach_widget->allocation.y;
diff --git a/panel/panel-item-dialog.c b/panel/panel-item-dialog.c
index 534f20b..46bc4b9 100644
--- a/panel/panel-item-dialog.c
+++ b/panel/panel-item-dialog.c
@@ -141,12 +141,12 @@ panel_item_dialog_init (PanelItemDialog *dialog)
dialog->factory = panel_module_factory_get ();
/* signal for unique changes */
- g_signal_connect (G_OBJECT (dialog->factory), "unique-changed",
+ g_signal_connect (G_OBJECT (dialog->factory), "unique-changed",
G_CALLBACK (panel_item_dialog_unique_changed), dialog);
/* setup dialog */
gtk_window_set_title (GTK_WINDOW (dialog), _("Xfce Panel Item Browser"));
- xfce_titled_dialog_set_subtitle (XFCE_TITLED_DIALOG (dialog),
+ xfce_titled_dialog_set_subtitle (XFCE_TITLED_DIALOG (dialog),
_("Add new plugins to your Xfce panels"));
gtk_window_set_icon_name (GTK_WINDOW (dialog), GTK_STOCK_ADD);
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
@@ -244,7 +244,7 @@ panel_item_dialog_finalize (GObject *object)
PanelItemDialog *dialog = PANEL_ITEM_DIALOG (object);
/* disconnect unique-changed signal */
- g_signal_handlers_disconnect_by_func (G_OBJECT (dialog->factory),
+ g_signal_handlers_disconnect_by_func (G_OBJECT (dialog->factory),
panel_item_dialog_unique_changed, dialog);
/* make the windows sensitive again */
@@ -309,7 +309,7 @@ panel_item_dialog_unique_changed (PanelModuleFactory *factory,
panel_return_if_fail (GTK_IS_LIST_STORE (dialog->store));
/* search the module and update its sensitivity */
- gtk_tree_model_foreach (GTK_TREE_MODEL (dialog->store),
+ gtk_tree_model_foreach (GTK_TREE_MODEL (dialog->store),
panel_item_dialog_unique_changed_foreach, module);
}
@@ -477,7 +477,7 @@ panel_item_dialog_drag_data_get (GtkWidget *treeview,
internal_name = panel_module_get_name (module);
/* set the selection data */
- gtk_selection_data_set (selection_data, selection_data->target, 8,
+ gtk_selection_data_set (selection_data, selection_data->target, 8,
(guchar *) internal_name, strlen (internal_name));
/* release module */
@@ -520,7 +520,7 @@ panel_item_dialog_populate_store (PanelItemDialog *dialog)
/* add an empty item for separator in 2nd position */
if (panel_module_factory_has_launcher (dialog->factory))
- gtk_list_store_insert_with_values (dialog->store, &iter, 1,
+ gtk_list_store_insert_with_values (dialog->store, &iter, 1,
COLUMN_MODULE, NULL, -1);
}
@@ -711,7 +711,7 @@ panel_item_dialog_show (PanelWindow *active)
active = panel_application_get_window (dialog->application, 0);
/* show the dialog on the same screen as the panel */
- gtk_window_set_screen (GTK_WINDOW (dialog),
+ gtk_window_set_screen (GTK_WINDOW (dialog),
gtk_widget_get_screen (GTK_WIDGET (active)));
/* show the dialog */
diff --git a/plugins/systray/systray-box.c b/plugins/systray/systray-box.c
index 2cd3f3c..7c490ef 100644
--- a/plugins/systray/systray-box.c
+++ b/plugins/systray/systray-box.c
@@ -471,8 +471,8 @@ systray_box_expose_event (GtkWidget *widget,
/* paint the child */
gdk_cairo_set_source_pixmap (cr, child_info->widget->window,
- child_info->widget->allocation.x,
- child_info->widget->allocation.y);
+ child_info->widget->allocation.x,
+ child_info->widget->allocation.y);
cairo_paint (cr);
}
diff --git a/plugins/systray/systray-socket.c b/plugins/systray/systray-socket.c
index d942fd0..d382c1d 100644
--- a/plugins/systray/systray-socket.c
+++ b/plugins/systray/systray-socket.c
@@ -186,9 +186,9 @@ systray_socket_expose_event (GtkWidget *widget,
/* clear to parent-relative pixmap */
gdk_window_clear_area (widget->window,
event->area.x,
- event->area.y,
+ event->area.y,
event->area.width,
- event->area.height);
+ event->area.height);
}
return FALSE;
@@ -331,14 +331,14 @@ systray_socket_get_title (SystraySocket *socket)
{
/* check the xprop content */
if (G_LIKELY (xprop.value && xprop.nitems > 0))
- {
- /* get the lowercase name if it's utf-8 valid */
- if (g_utf8_validate ((const gchar *) xprop.value, xprop.nitems, NULL))
- name = g_utf8_strdown ((const gchar *) xprop.value, xprop.nitems);
-
- /* cleanup */
- XFree (xprop.value);
- }
+ {
+ /* get the lowercase name if it's utf-8 valid */
+ if (g_utf8_validate ((const gchar *) xprop.value, xprop.nitems, NULL))
+ name = g_utf8_strdown ((const gchar *) xprop.value, xprop.nitems);
+
+ /* cleanup */
+ XFree (xprop.value);
+ }
}
return name;
diff --git a/plugins/tasklist/tasklist.c b/plugins/tasklist/tasklist.c
index 64d34c4..5440489 100644
--- a/plugins/tasklist/tasklist.c
+++ b/plugins/tasklist/tasklist.c
@@ -245,7 +245,7 @@ tasklist_plugin_configure_plugin (XfcePanelPlugin *panel_plugin)
G_OBJECT (object), "active");
gtk_widget_show (GTK_WIDGET (dialog));
- }
+ }
else
{
/* release the builder */
More information about the Xfce4-commits
mailing list