2005-07-06 Christian Persch <chpe@cvs.gnome.org>
* shell/ev-metadata-manager.c: (ev_metadata_manager_save):
Return a boolean from timeout func. Fix ported from gedit.
+2005-07-06 Christian Persch <chpe@cvs.gnome.org>
+
+ * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
+
+ Return a boolean from timeout func. Fix ported from gedit.
+
2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
* configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
GHashTable *items;
};
-static void ev_metadata_manager_save (gpointer data);
+static gboolean ev_metadata_manager_save (gpointer data);
static GeditMetadataManager *ev_metadata_manager = NULL;
}
}
-static void
+static gboolean
ev_metadata_manager_save (gpointer data)
{
xmlDocPtr doc;
gchar *file_name;
if (!ev_metadata_manager->modified)
- return;
+ return TRUE;
resize_items ();
doc = xmlNewDoc ((const xmlChar *)"1.0");
if (doc == NULL)
- return;
+ return TRUE;
/* Create metadata root */
root = xmlNewDocNode (doc, NULL, (const xmlChar *)"metadata", NULL);
xmlFreeDoc (doc);
ev_metadata_manager->modified = FALSE;
+
+ return TRUE;
}
void