summaryrefslogtreecommitdiff
path: root/applets/notification_area
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 11:54:59 +0200
committerZenWalker <[email protected]>2019-07-05 17:09:27 +0200
commit188846cecfda3b8f19e45ca37a60d817bff2afed (patch)
tree571ae1908573dd88f390482faf1a8c75ea61cc68 /applets/notification_area
parent96ceed2717780188bc0eb84565d91617783d7192 (diff)
downloadmate-panel-188846cecfda3b8f19e45ca37a60d817bff2afed.tar.bz2
mate-panel-188846cecfda3b8f19e45ca37a60d817bff2afed.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'applets/notification_area')
-rw-r--r--applets/notification_area/main.c8
-rw-r--r--applets/notification_area/na-grid.c12
-rw-r--r--applets/notification_area/status-notifier/sn-dbus-menu.c2
-rw-r--r--applets/notification_area/status-notifier/sn-item.c2
4 files changed, 12 insertions, 12 deletions
diff --git a/applets/notification_area/main.c b/applets/notification_area/main.c
index 12a1e073..f99b11c7 100644
--- a/applets/notification_area/main.c
+++ b/applets/notification_area/main.c
@@ -178,19 +178,19 @@ na_preferences_dialog_response (NaTrayApplet *applet,
static void
ensure_prefs_window_is_created (NaTrayApplet *applet)
-{
+{
if (applet->priv->dialog)
return;
applet->priv->dialog = g_new0 (NAPreferencesDialog, 1);
-
+
applet->priv->dialog->preferences_dialog = GTK_WIDGET (gtk_builder_get_object (applet->priv->builder, "notification_area_preferences_dialog"));
gtk_window_set_icon_name (GTK_WINDOW (applet->priv->dialog->preferences_dialog), NOTIFICATION_AREA_ICON);
-
+
applet->priv->dialog->min_icon_size_spin = GTK_WIDGET (gtk_builder_get_object (applet->priv->builder, "min_icon_size_spin"));
g_return_if_fail (applet->priv->dialog->min_icon_size_spin != NULL);
-
+
gtk_spin_button_set_range (GTK_SPIN_BUTTON (applet->priv->dialog->min_icon_size_spin), 7, 100);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (applet->priv->dialog->min_icon_size_spin), applet->priv->min_icon_size);
diff --git a/applets/notification_area/na-grid.c b/applets/notification_area/na-grid.c
index 8465fcab..8d0434c9 100644
--- a/applets/notification_area/na-grid.c
+++ b/applets/notification_area/na-grid.c
@@ -13,7 +13,7 @@
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
@@ -138,7 +138,7 @@ refresh_grid (NaGrid *self)
GtkOrientation orientation;
GtkAllocation allocation;
gint rows, cols, length;
-
+
orientation = gtk_orientable_get_orientation (GTK_ORIENTABLE (self));
gtk_widget_get_allocation (GTK_WIDGET (self), &allocation);
length = g_slist_length (self->items);
@@ -161,13 +161,13 @@ refresh_grid (NaGrid *self)
if (length % cols)
rows++;
}
-
+
if (self->cols != cols || self->rows != rows || self->length != length)
{
self->cols = cols;
self->rows = rows;
self->length = length;
-
+
SortData data;
data.orientation = gtk_orientable_get_orientation (GTK_ORIENTABLE (self));
data.index = 0;
@@ -186,7 +186,7 @@ na_grid_set_min_icon_size (NaGrid *grid,
g_return_if_fail (NA_IS_GRID (grid));
grid->min_icon_size = min_icon_size;
-
+
refresh_grid (grid);
}
@@ -244,7 +244,7 @@ na_grid_init (NaGrid *self)
self->hosts = NULL;
self->items = NULL;
-
+
gtk_grid_set_row_homogeneous (GTK_GRID (self), TRUE);
gtk_grid_set_column_homogeneous (GTK_GRID (self), TRUE);
diff --git a/applets/notification_area/status-notifier/sn-dbus-menu.c b/applets/notification_area/status-notifier/sn-dbus-menu.c
index 5b73db00..1cc3bb5a 100644
--- a/applets/notification_area/status-notifier/sn-dbus-menu.c
+++ b/applets/notification_area/status-notifier/sn-dbus-menu.c
@@ -378,7 +378,7 @@ sn_dbus_menu_constructed (GObject *object)
/* Fix any failures of compiz/other wm's to communicate with gtk for transparency */
screen = gtk_widget_get_screen(GTK_WIDGET(toplevel));
visual = gdk_screen_get_rgba_visual(screen);
- gtk_widget_set_visual(GTK_WIDGET(toplevel), visual);
+ gtk_widget_set_visual(GTK_WIDGET(toplevel), visual);
/* Set menu and it's toplevel window to follow panel theme */
context = gtk_widget_get_style_context (GTK_WIDGET(toplevel));
gtk_style_context_add_class(context,"gnome-panel-menu-bar");
diff --git a/applets/notification_area/status-notifier/sn-item.c b/applets/notification_area/status-notifier/sn-item.c
index a7fa6fea..bb8e75ae 100644
--- a/applets/notification_area/status-notifier/sn-item.c
+++ b/applets/notification_area/status-notifier/sn-item.c
@@ -446,7 +446,7 @@ sn_item_class_init (SnItemClass *item_class)
install_properties (object_class);
install_signals (item_class);
-
+
g_type_class_add_private (item_class, sizeof (SnItemPrivate));
}