[Xfce4-commits] [xfce/xfce4-settings] 05/18: display: Small cleanup
noreply at xfce.org
noreply at xfce.org
Thu Apr 4 23:03:03 CEST 2019
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-settings.
commit 4b238465b6422ccccca75231114deb49a6072e45
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Fri Mar 29 22:37:41 2019 +0100
display: Small cleanup
---
dialogs/display-settings/main.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index c832035..d78e49d 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -1301,7 +1301,7 @@ display_settings_profile_list_init (GtkBuilder *builder)
GtkCellRenderer *renderer;
GtkTreeViewColumn *column;
- store = gtk_list_store_new (3,
+ store = gtk_list_store_new (N_COLUMNS,
GDK_TYPE_PIXBUF,
G_TYPE_STRING,
G_TYPE_STRING);
@@ -1343,7 +1343,7 @@ display_settings_profile_list_populate (GtkBuilder *builder)
GList *current;
/* create a new list store */
- store = gtk_list_store_new (3,
+ store = gtk_list_store_new (N_COLUMNS,
GDK_TYPE_PIXBUF,
G_TYPE_STRING,
G_TYPE_STRING);
@@ -1376,9 +1376,9 @@ display_settings_profile_list_populate (GtkBuilder *builder)
gtk_list_store_append (store, &iter);
gtk_list_store_set (store, &iter,
- 0, pixbuf,
- 1, profile_name,
- 2, (gchar *)current->data,
+ COLUMN_ICON, pixbuf,
+ COLUMN_NAME, profile_name,
+ COLUMN_HASH, (gchar *)current->data,
-1);
current = g_list_next (current);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list