[gnome-control-center] display: Use symbolic name
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] display: Use symbolic name
- Date: Wed, 7 Mar 2012 16:17:02 +0000 (UTC)
commit f75c06b9794daec6716ae7a83b5b91f52d098570
Author: Bastien Nocera <hadess hadess net>
Date: Wed Mar 7 17:07:31 2012 +0100
display: Use symbolic name
panels/display/cc-display-panel.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index e3f392c..33846d5 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -60,7 +60,8 @@ enum {
HEIGHT_COL,
RATE_COL,
AREA_COL,
- ROTATION_COL
+ ROTATION_COL,
+ NUM_COLS
};
struct _CcDisplayPanelPrivate
@@ -2159,7 +2160,7 @@ make_text_combo (GtkWidget *widget, int sort_column)
{
GtkComboBox *box = GTK_COMBO_BOX (widget);
GtkListStore *store = gtk_list_store_new (
- 6,
+ NUM_COLS,
G_TYPE_STRING, /* Text */
G_TYPE_INT, /* Width */
G_TYPE_INT, /* Height */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]