(ev_properties_fonts_set_document): use
EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
+2005-07-04 Martin Kretzschmar <martink@gnome.org>
+
+ * 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 <msw@rpath.com>
* tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
#include <gtk/gtktreeview.h>
#include <glade/glade.h>
-enum
-{
- FONT_NAME_COL,
- NUM_COLS
-};
-
struct _EvPropertiesFonts {
GtkVBox base_instance;
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);