fix a typo & some missing headers.

2003-03-25  Not Zed  <NotZed@Ximian.com>

	* e-meta.c (meta_filename): fix a typo & some missing headers.

svn path=/trunk/; revision=20490
This commit is contained in:
Not Zed
2003-03-25 01:00:31 +00:00
committed by Michael Zucci
parent 0b09ea1971
commit e1476cffd4
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2003-03-25 Not Zed <NotZed@Ximian.com>
* e-meta.c (meta_filename): fix a typo & some missing headers.
2003-03-24 Dan Winship <danw@ximian.com> 2003-03-24 Dan Winship <danw@ximian.com>
* e-dialog-utils.c (e_dialog_set_transient_for, * e-dialog-utils.c (e_dialog_set_transient_for,

View File

@ -30,10 +30,6 @@
#include <glib.h> #include <glib.h>
#include "e-meta.h"
#include <gal/util/e-util.h>
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxml/tree.h> #include <libxml/tree.h>
#include <libxml/xmlmemory.h> #include <libxml/xmlmemory.h>
@ -43,6 +39,10 @@
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <gal/util/e-xml-utils.h>
#include <gal/util/e-util.h>
#include "e-meta.h"
static GObjectClass *e_meta_parent_class; static GObjectClass *e_meta_parent_class;
struct _meta_data { struct _meta_data {
@ -441,7 +441,7 @@ static char *meta_filename(const char *base, const char *key)
while ( (c = *p++) ) { while ( (c = *p++) ) {
if (c == '/') if (c == '/')
c == '_'; c = '_';
*o++ = c; *o++ = c;
} }
strcpy(o, ".emeta"); strcpy(o, ".emeta");