define in terms of privincludedir.

* Makefile.am (eutilincludedir, etc): define in terms of
	privincludedir.

	* ename/Makefile.am (libenameincludedir): Likewise

	* e-account.c: Fix warnings
	* e-account-list.c: Likewise
	* e-config-listener.c: Likewise
	* e-gui-utils.c: Likewise.
	* e-lang-utils.c: Likewise
	* e-msgport.c: Likewise
	* e-passwords.c: Likewise

	* e-categories-config.c
	(e_categories_config_open_dialog_for_entry): Use g_object_get/_set
	rather than gtk_

	* e-url.c (e_uri_new): Use g_ascii_strdown instead of deprecated
	g_strdown.

svn path=/trunk/; revision=19771
This commit is contained in:
Dan Winship
2003-02-05 21:58:39 +00:00
parent 4fe7f116d9
commit 022bfface0
13 changed files with 40 additions and 17 deletions

View File

@ -1,3 +1,25 @@
2003-02-05 Dan Winship <danw@ximian.com>
* Makefile.am (eutilincludedir, etc): define in terms of
privincludedir.
* ename/Makefile.am (libenameincludedir): Likewise
* e-account.c: Fix warnings
* e-account-list.c: Likewise
* e-config-listener.c: Likewise
* e-gui-utils.c: Likewise.
* e-lang-utils.c: Likewise
* e-msgport.c: Likewise
* e-passwords.c: Likewise
* e-categories-config.c
(e_categories_config_open_dialog_for_entry): Use g_object_get/_set
rather than gtk_
* e-url.c (e_uri_new): Use g_ascii_strdown instead of deprecated
g_strdown.
2003-01-27 Ettore Perazzoli <ettore@ximian.com>
* e-request.c (e_request_string): Port to GtkDialog. Strdup the

View File

@ -1,10 +1,8 @@
SUBDIRS = . ename
imagesdir = $(datadir)/evolution-$(BASE_VERSION)/images
eutilincludedir = $(includedir)/evolution-$(BASE_VERSION)/e-util
econdincludedir = $(includedir)/evolution-$(BASE_VERSION)/e-conduit
edb3includedir = $(includedir)/evolution-$(BASE_VERSION)/e-db3util
eutilincludedir = $(privincludedir)/e-util
econdincludedir = $(privincludedir)/e-conduit
edb3includedir = $(privincludedir)/e-db3util
INCLUDES = \
-I$(top_srcdir) \

View File

@ -25,6 +25,7 @@
#include "e-account.h"
#include "e-util-marshal.h"
#include <string.h>
#include <gal/util/e-util.h>
struct EAccountListPrivate {

View File

@ -23,6 +23,10 @@
#include "e-account.h"
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <gal/util/e-util.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
@ -273,7 +277,6 @@ static gboolean
xml_set_service (xmlNodePtr node, EAccountService *service)
{
gboolean changed = FALSE;
int timeout;
changed |= xml_set_bool (node, "save-passwd", &service->save_passwd);
changed |= xml_set_bool (node, "keep-on-server", &service->keep_on_server);

View File

@ -187,17 +187,13 @@ e_categories_config_open_dialog_for_entry (GtkEntry *entry)
text = gtk_entry_get_text (GTK_ENTRY (entry));
dialog = GTK_DIALOG (e_categories_new (text));
gtk_object_set (GTK_OBJECT (dialog),
"ecml", ecmlw,
NULL);
g_object_set (dialog, "ecml", ecmlw, NULL);
/* run the dialog */
result = gtk_dialog_run (dialog);
if (result == 0) {
gtk_object_get (GTK_OBJECT (dialog),
"categories", &categories,
NULL);
g_object_get (dialog, "categories", &categories, NULL);
gtk_entry_set_text (GTK_ENTRY (entry), categories);
g_free (categories);
}

View File

@ -8,6 +8,7 @@
* Copyright 2002, Ximian, Inc.
*/
#include <string.h>
#include <gconf/gconf-client.h>
#include "e-config-listener.h"

View File

@ -13,6 +13,7 @@
#include "e-gui-utils.h"
#include <glib.h>
#include <gtk/gtkalignment.h>
#include <gtk/gtkimage.h>
GtkWidget *e_create_image_widget(gchar *name,

View File

@ -35,7 +35,6 @@ e_get_language_list (void)
GSList *list = NULL;
const char *env;
const char *p;
char *lang;
env = g_getenv ("LANGUAGE");
if (env == NULL) {

View File

@ -922,6 +922,8 @@ int e_mutex_cond_wait(void *vcond, EMutex *m)
g_assert(m->owner == pthread_self());
pthread_mutex_unlock(&m->mutex);
return ret;
default:
g_return_val_if_reached(-1);
}
}

View File

@ -27,6 +27,7 @@
#endif
#include "e-passwords.h"
#include <string.h>
#include <libgnome/gnome-config.h>
#include <libgnome/gnome-i18n.h>
#include <gtk/gtkentry.h>

View File

@ -304,7 +304,7 @@ e_trie_search (ETrie *trie, const char *buffer, size_t buflen, int *matched_id)
register size_t inlen = buflen;
struct _trie_state *q;
struct _trie_match *m;
gunichar c, u;
gunichar c;
inptr = (const unsigned char *) buffer;
inend = inptr + buflen;

View File

@ -133,8 +133,7 @@ e_uri_new (const char *uri_string)
p++;
if (p > uri_string && *p == ':') {
uri->protocol = g_strndup (uri_string, p - uri_string);
g_strdown (uri->protocol);
uri->protocol = g_ascii_strdown (uri_string, p - uri_string);
uri_string = p + 1;
}
else

View File

@ -18,7 +18,7 @@ libename_la_SOURCES = \
e-address-western.c \
e-name-western.c
libenameincludedir = $(includedir)/evolution-$(BASE_VERSION)/ename
libenameincludedir = $(privincludedir)/ename
libenameinclude_HEADERS = \
e-address-western.h \