aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-02-06 23:50:31 +0800
committerDan Winship <danw@src.gnome.org>2003-02-06 23:50:31 +0800
commit50ff525b79aaa97ab627d5dfd4c9e65fe013ecce (patch)
treebd5247f2648c4d0458f22ce9f991e7b37d1963c7 /composer
parent9c8e5249201801aa1e863bb5de2ee63d2286d071 (diff)
downloadgsoc2013-evolution-50ff525b79aaa97ab627d5dfd4c9e65fe013ecce.tar
gsoc2013-evolution-50ff525b79aaa97ab627d5dfd4c9e65fe013ecce.tar.gz
gsoc2013-evolution-50ff525b79aaa97ab627d5dfd4c9e65fe013ecce.tar.bz2
gsoc2013-evolution-50ff525b79aaa97ab627d5dfd4c9e65fe013ecce.tar.lz
gsoc2013-evolution-50ff525b79aaa97ab627d5dfd4c9e65fe013ecce.tar.xz
gsoc2013-evolution-50ff525b79aaa97ab627d5dfd4c9e65fe013ecce.tar.zst
gsoc2013-evolution-50ff525b79aaa97ab627d5dfd4c9e65fe013ecce.zip
clean up
* Makefile.am: clean up * e-msg-composer.c (autosave_manager_query_load_orphans): #include string.h (menu_file_send_cb): s/gtk_signal_emit/g_signal_emit/ * e-msg-composer-attachment.c: #include string.h (e_msg_composer_attachment_edit): s/E_GLADEDIR/EVOLUTION_GLADEDIR * e-msg-composer-attachment-bar.c: #include string.h (pixbuf_for_mime_type): s/ICONSDIR/IMAGESDIR/ * e-msg-composer-hdrs.c: #include string.h * e-msg-composer-select-file.c (run_selector): Remove unused var * evolution-composer.c: #include string.h (evolution_composer_init): Remove unused var * listener.c: #include string.h (listener_new): Remove unused var svn path=/trunk/; revision=19804
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog24
-rw-r--r--composer/Makefile.am5
-rw-r--r--composer/e-msg-composer-attachment-bar.c3
-rw-r--r--composer/e-msg-composer-attachment.c5
-rw-r--r--composer/e-msg-composer-hdrs.c2
-rw-r--r--composer/e-msg-composer-select-file.c1
-rw-r--r--composer/e-msg-composer.c3
-rw-r--r--composer/evolution-composer.c2
-rw-r--r--composer/listener.c2
9 files changed, 36 insertions, 11 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 517d13a0b6..d5dbdae902 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,27 @@
+2003-02-06 Dan Winship <danw@ximian.com>
+
+ * Makefile.am: clean up
+
+ * e-msg-composer.c (autosave_manager_query_load_orphans): #include
+ string.h
+ (menu_file_send_cb): s/gtk_signal_emit/g_signal_emit/
+
+ * e-msg-composer-attachment.c: #include string.h
+ (e_msg_composer_attachment_edit): s/E_GLADEDIR/EVOLUTION_GLADEDIR
+
+ * e-msg-composer-attachment-bar.c: #include string.h
+ (pixbuf_for_mime_type): s/ICONSDIR/IMAGESDIR/
+
+ * e-msg-composer-hdrs.c: #include string.h
+
+ * e-msg-composer-select-file.c (run_selector): Remove unused var
+
+ * evolution-composer.c: #include string.h
+ (evolution_composer_init): Remove unused var
+
+ * listener.c: #include string.h
+ (listener_new): Remove unused var
+
2003-02-05 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_from_url): Split out the
diff --git a/composer/Makefile.am b/composer/Makefile.am
index ae4ba00e9f..27f138471e 100644
--- a/composer/Makefile.am
+++ b/composer/Makefile.am
@@ -44,7 +44,6 @@ $(libcomposer_la_OBJECTS): composer-marshal.h
idl_DATA = $(IDLS)
-gladedir = $(datadir)/evolution-$(BASE_VERSION)/glade
glade_DATA = \
e-msg-composer-attachment.glade
@@ -63,9 +62,9 @@ INCLUDES = \
-I$(top_builddir)/shell \
-I$(top_srcdir)/shell \
-DEVOLUTION_DATADIR=\"$(datadir)\" \
- -DEVOLUTION_ICONSDIR=\"$(iconsdir)\" \
+ -DEVOLUTION_IMAGESDIR=\"$(imagesdir)\" \
-DEVOLUTION_UIDIR=\"$(evolutionuidir)\" \
- -DE_GLADEDIR=\"$(gladedir)\" \
+ -DEVOLUTION_GLADEDIR=\"$(gladedir)\" \
-DG_LOG_DOMAIN=\"composer\" \
-DG_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED \
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index a3da5c1527..a391838df3 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -26,6 +26,7 @@
#include <config.h>
#endif
+#include <string.h>
#include <gtk/gtk.h>
#include <glade/glade.h>
#include <gconf/gconf.h>
@@ -218,7 +219,7 @@ pixbuf_for_mime_type (const char *mime_type)
|| strcmp (mime_type, "message/rfc822") == 0) {
char *name;
- name = g_build_filename (EVOLUTION_ICONSDIR, "mail.png", NULL);
+ name = g_build_filename (EVOLUTION_IMAGESDIR, "mail.png", NULL);
pixbuf = gdk_pixbuf_new_from_file (name, NULL);
g_free (name);
diff --git a/composer/e-msg-composer-attachment.c b/composer/e-msg-composer-attachment.c
index 9a6bfefc79..2be55b1f69 100644
--- a/composer/e-msg-composer-attachment.c
+++ b/composer/e-msg-composer-attachment.c
@@ -23,12 +23,13 @@
/* This is the object representing an email attachment. It is implemented as a
- GtkObject to make it easier for the application to handle it. For example,
+ GObject to make it easier for the application to handle it. For example,
the "changed" signal is emitted whenever something changes in the
attachment. Also, this contains the code to let users edit the
attachment manually. */
#include <sys/stat.h>
+#include <string.h>
#include <errno.h>
#include <camel/camel.h>
@@ -423,7 +424,7 @@ e_msg_composer_attachment_edit (EMsgComposerAttachment *attachment, GtkWidget *p
return;
}
- editor_gui = glade_xml_new (E_GLADEDIR "/e-msg-composer-attachment.glade",
+ editor_gui = glade_xml_new (EVOLUTION_GLADEDIR "/e-msg-composer-attachment.glade",
NULL, NULL);
if (editor_gui == NULL) {
g_warning ("Cannot load `e-msg-composer-attachment.glade'");
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index b6271112e0..c3e40eecff 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -26,6 +26,8 @@
#include <config.h>
#endif
+#include <string.h>
+
#include <bonobo/bonobo-control.h>
#include <bonobo/bonobo-widget.h>
diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c
index c70178737a..8698dd3d70 100644
--- a/composer/e-msg-composer-select-file.c
+++ b/composer/e-msg-composer-select-file.c
@@ -43,7 +43,6 @@ run_selector(EMsgComposer *composer, const char *title, int multi, gboolean *sho
{
GtkFileSelection *selection;
GtkWidget *showinline = NULL;
- GPtrArray *list = NULL;
char *path;
selection = (GtkFileSelection *)gtk_file_selection_new(title);
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 107b631d3b..51d7e30f7f 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1336,7 +1336,6 @@ autosave_is_owned (AutosaveManager *am, const char *file)
static void
autosave_manager_query_load_orphans (AutosaveManager *am, EMsgComposer *composer)
{
- GtkWidget *dialog;
DIR *dir;
struct dirent *d;
GSList *match = NULL;
@@ -1629,7 +1628,7 @@ menu_file_send_cb (BonoboUIComponent *uic,
void *data,
const char *path)
{
- gtk_signal_emit (GTK_OBJECT (data), signals[SEND]);
+ g_signal_emit (GTK_OBJECT (data), signals[SEND], 0);
}
static void
diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c
index 851bf3c853..4e9280aef4 100644
--- a/composer/evolution-composer.c
+++ b/composer/evolution-composer.c
@@ -25,6 +25,7 @@
#include <config.h>
#endif
+#include <string.h>
#include <gtk/gtksignal.h>
#include <bonobo/bonobo-item-handler.h>
#include <bonobo/bonobo-generic-factory.h>
@@ -310,7 +311,6 @@ evolution_composer_class_init (EvolutionComposerClass *klass)
static void
evolution_composer_init (EvolutionComposer *composer)
{
- BonoboObject *item_handler;
EAccount *account;
account = mail_config_get_default_account ();
diff --git a/composer/listener.c b/composer/listener.c
index 2e04623f1c..2c79a4fa0b 100644
--- a/composer/listener.c
+++ b/composer/listener.c
@@ -23,6 +23,7 @@
#include <config.h>
#endif
+#include <string.h>
#include <bonobo/bonobo-arg.h>
#include <bonobo/bonobo-object.h>
#include <bonobo/bonobo-stream-client.h>
@@ -261,7 +262,6 @@ EditorListener *
listener_new (EMsgComposer *composer)
{
EditorListener *listener;
- GNOME_GtkHTML_Editor_Listener corba_listener;
listener = g_object_new (EDITOR_LISTENER_TYPE, NULL);
listener->composer = composer;