aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component-utils.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-02 16:25:03 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-02 16:25:03 +0800
commit9c73777f2268b5bf2622f893e2a3ba7d0f720572 (patch)
treef81b79f19b87f84b4429d329b3fc0f9ff7946060 /shell/evolution-shell-component-utils.c
parent236c15d106b4e740d4e3996e0649334ca8e13876 (diff)
downloadgsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.gz
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.zst
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.zip
First big sync of my GNOME 2 porting work (incomplete, and still
pretty broken). Weeeeee! svn path=/trunk/; revision=18503
Diffstat (limited to 'shell/evolution-shell-component-utils.c')
-rw-r--r--shell/evolution-shell-component-utils.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/shell/evolution-shell-component-utils.c b/shell/evolution-shell-component-utils.c
index b9e5215e69..17434f6dea 100644
--- a/shell/evolution-shell-component-utils.c
+++ b/shell/evolution-shell-component-utils.c
@@ -25,13 +25,12 @@
#include "evolution-shell-component-utils.h"
-#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-util.h>
#include <bonobo/bonobo-ui-util.h>
#include <bonobo/bonobo-moniker-util.h>
#include <bonobo/bonobo-exception.h>
-#include <liboaf/oaf.h>
+#include <bonobo-activation/bonobo-activation.h>
#include <gal/widgets/e-gui-utils.h>
static void free_pixmaps (void);
@@ -58,7 +57,7 @@ void e_pixmaps_update (BonoboUIComponent *uic, EPixmap *pixcache)
path = g_concat_dir_and_file (EVOLUTION_IMAGES,
pixcache [i].fname);
- pixbuf = gdk_pixbuf_new_from_file (path);
+ pixbuf = gdk_pixbuf_new_from_file (path, NULL);
if (pixbuf == NULL) {
g_warning ("Cannot load image -- %s", path);
} else {
@@ -122,14 +121,14 @@ e_activation_failure_dialog (GtkWindow *parent, const char *msg,
CORBA_Object_release (object, &ev);
}
errmsg = g_strdup_printf (_("%s\n\nUnknown error."), msg);
- } else if (strcmp (CORBA_exception_id (&ev), ex_OAF_GeneralError) != 0) {
+ } else if (strcmp (CORBA_exception_id (&ev), ex_Bonobo_GeneralError) != 0) {
char *bonobo_err = bonobo_exception_get_text (&ev);
errmsg = g_strdup_printf (_("%s\n\nThe error from the "
"component system is:\n%s"),
msg, bonobo_err);
g_free (bonobo_err);
} else {
- OAF_GeneralError *errval = CORBA_exception_value (&ev);
+ Bonobo_GeneralError *errval = CORBA_exception_value (&ev);
errmsg = g_strdup_printf (_("%s\n\nThe error from the "
"activation system is:\n%s"),
@@ -158,10 +157,10 @@ e_get_activation_failure_msg (CORBA_Environment *ev)
if (CORBA_exception_id (ev) == NULL)
return NULL;
- if (strcmp (CORBA_exception_id (ev), ex_OAF_GeneralError) != 0) {
+ if (strcmp (CORBA_exception_id (ev), ex_Bonobo_GeneralError) != 0) {
return bonobo_exception_get_text (ev);
} else {
- const OAF_GeneralError *oaf_general_error;
+ const Bonobo_GeneralError *oaf_general_error;
oaf_general_error = CORBA_exception_value (ev);
return g_strdup (oaf_general_error->description);