[gnome-color-manager] trivial: whitespace fixups
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: whitespace fixups
- Date: Tue, 10 Nov 2009 13:47:57 +0000 (UTC)
commit d51045f533b50946fe8691acd732cf61bea98e86
Author: Richard Hughes <richard hughsie com>
Date: Tue Nov 10 13:38:45 2009 +0000
trivial: whitespace fixups
src/gcm-prefs.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/gcm-prefs.c b/src/gcm-prefs.c
index 5fe72ab..9099621 100644
--- a/src/gcm-prefs.c
+++ b/src/gcm-prefs.c
@@ -527,7 +527,6 @@ gcm_prefs_add_devices_columns (GtkTreeView *treeview)
gtk_tree_view_column_set_expand (column, TRUE);
}
-
/**
* gcm_prefs_has_hardware_device_attached:
**/
@@ -950,7 +949,6 @@ gcm_prefs_profile_combo_changed_cb (GtkWidget *widget, gpointer data)
GError *error = NULL;
GcmProfile *profile = NULL;
gboolean changed;
-
GcmDeviceType type;
GcmProfileType profile_type = GCM_PROFILE_TYPE_UNKNOWN;
const gchar *profile_type_text;
@@ -962,6 +960,7 @@ gcm_prefs_profile_combo_changed_cb (GtkWidget *widget, gpointer data)
if (current_device == NULL)
return;
+ /* no selection */
if (active == -1)
return;
@@ -1525,8 +1524,6 @@ main (int argc, char **argv)
gtk_combo_box_append_text (GTK_COMBO_BOX (widget), "Perceptual");
gtk_combo_box_set_active (GTK_COMBO_BOX (widget), 0);
-
-
/* set ranges */
widget = GTK_WIDGET (gtk_builder_get_object (builder, "hscale_gamma"));
gtk_range_set_range (GTK_RANGE (widget), 0.1f, 5.0f);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]