diff options
author | Laurent Napias <[email protected]> | 2019-06-29 11:54:59 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-07-05 17:09:27 +0200 |
commit | 188846cecfda3b8f19e45ca37a60d817bff2afed (patch) | |
tree | 571ae1908573dd88f390482faf1a8c75ea61cc68 /applets/notification_area/na-grid.c | |
parent | 96ceed2717780188bc0eb84565d91617783d7192 (diff) | |
download | mate-panel-188846cecfda3b8f19e45ca37a60d817bff2afed.tar.bz2 mate-panel-188846cecfda3b8f19e45ca37a60d817bff2afed.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'applets/notification_area/na-grid.c')
-rw-r--r-- | applets/notification_area/na-grid.c | 12 |
1 files changed, 6 insertions, 6 deletions
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); |