Avoid single line comments.

This commit is contained in:
Florian Brosch
2017-12-11 21:38:08 -02:00
committed by Georges Basile Stavracas Neto
parent c502102653
commit 660e1c6178
6 changed files with 11 additions and 10 deletions
+6 -5
View File
@@ -515,7 +515,7 @@ on_view_action_activated (GSimpleAction *action,
view = g_variant_get_int32 (param);
// -1 means next view
/* -1 means next view */
if (view == -1)
view = ++(window->active_view);
else if (view == -2)
@@ -2073,10 +2073,11 @@ get_checked_fixed_location (GcalWindow *self)
location = gweather_location_entry_get_location (self->location_entry);
// NOTE: This check feels shabby. However,
// I couldn't find a better one without iterating
// the model. has-custom-text does not work properly.
// Lets go with it for now.
/* NOTE: This check feels shabby. However,
* I couldn't find a better one without iterating
* the model. has-custom-text does not work properly.
* Lets go with it for now.
*/
if (location != NULL && gweather_location_get_name (location) != NULL)
return location;