]> www.fi.muni.cz Git - evince.git/commitdiff
Fix mismatch in model types, noticed by Martin Kretzschmar.
authorJonathan Blandford <jrb@redhat.com>
Fri, 1 Apr 2005 07:34:30 +0000 (07:34 +0000)
committerJonathan Blandford <jrb@src.gnome.org>
Fri, 1 Apr 2005 07:34:30 +0000 (07:34 +0000)
Fri Apr  1 02:33:41 2005  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
        model types, noticed by Martin Kretzschmar.

ChangeLog
shell/ev-sidebar-links.c

index 37a0cc4643664da55d94e5cece93f52d5b4cc94c..faf52b3bb90b49465aecbb36e0a68c12816a65e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Apr  1 02:33:41 2005  Jonathan Blandford  <jrb@redhat.com>
+
+       * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
+       model types, noticed by Martin Kretzschmar.
+
 2005-04-01  Kristian Høgsberg  <krh@redhat.com>
 
        * pdf/ev-poppler.cc: Implement search based on
index a278034ab743565a556fb2a2906874e705ca3150..8e8506811f659f9fa0b48ec95a716d0dd8467a28 100644 (file)
@@ -126,13 +126,13 @@ create_loading_model (void)
        /* Creates a fake model to indicate that we're loading */
        retval = (GtkTreeModel *)gtk_list_store_new (EV_DOCUMENT_LINKS_COLUMN_NUM_COLUMNS,
                                                     G_TYPE_STRING,
-                                                    G_TYPE_BOOLEAN,
                                                     G_TYPE_OBJECT);
 
        gtk_list_store_append (GTK_LIST_STORE (retval), &iter);
        markup = g_strdup_printf ("<span size=\"larger\" style=\"italic\">%s</span>", _("Loading..."));
        gtk_list_store_set (GTK_LIST_STORE (retval), &iter,
                            EV_DOCUMENT_LINKS_COLUMN_MARKUP, markup,
+                           EV_DOCUMENT_LINKS_COLUMN_LINK, NULL,
                            -1);
        g_free (markup);
 
@@ -224,7 +224,7 @@ links_page_num_func (GtkTreeViewColumn *tree_column,
                page_string = g_markup_printf_escaped ("<i>%s</i>", page_label);
 
                g_object_set (cell,
-                             "markup", page_string,
+                             "markup", page_string,
                              "visible", TRUE,
                              NULL);