diff options
author | Martin Kretzschmar <martink@src.gnome.org> | 2005-07-04 20:49:56 (GMT) |
---|---|---|
committer | Martin Kretzschmar <martink@src.gnome.org> | 2005-07-04 20:49:56 (GMT) |
commit | 690f1487f47c73f7785f0afcee73ea088144437d (patch) | |
tree | f73e1417a594381a50dc96ab4cb14593b5261081 /shell/ev-properties-fonts.c | |
parent | fd8827679afed060a93d69923705ee421ad8536e (diff) |
(enum): kill redundant columns enum
(ev_properties_fonts_set_document): use
EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
Diffstat (limited to 'shell/ev-properties-fonts.c')
-rw-r--r-- | shell/ev-properties-fonts.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/shell/ev-properties-fonts.c b/shell/ev-properties-fonts.c index ce51091..d86e106 100644 --- a/shell/ev-properties-fonts.c +++ b/shell/ev-properties-fonts.c @@ -31,12 +31,6 @@ #include <gtk/gtktreeview.h> #include <glade/glade.h> -enum -{ - FONT_NAME_COL, - NUM_COLS -}; - struct _EvPropertiesFonts { GtkVBox base_instance; @@ -156,7 +150,8 @@ ev_properties_fonts_set_document (EvPropertiesFonts *properties, properties->document = document; - list_store = gtk_list_store_new (NUM_COLS, G_TYPE_STRING); + list_store = gtk_list_store_new (EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS, + G_TYPE_STRING); gtk_tree_view_set_model (tree_view, GTK_TREE_MODEL (list_store)); job = ev_job_fonts_new (properties->document); |