From 690f1487f47c73f7785f0afcee73ea088144437d Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Mon, 04 Jul 2005 20:49:56 +0000 Subject: (enum): kill redundant columns enum (ev_properties_fonts_set_document): use EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS. --- diff --git a/ChangeLog b/ChangeLog index 73298f9..11bd6b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-04 Martin Kretzschmar + + * shell/ev-properties-fonts.c (enum): kill redundant columns enum + (ev_properties_fonts_set_document): use + EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS. + 2005-07-04 Matthew S. Wilson * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides 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 #include -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); -- cgit v0.9.1