aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-03-20 02:32:52 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-03-20 02:32:52 +0800
commitec3cf6dfcd221bbce0a79df5431c4a737a2a7161 (patch)
treeec02a46a80230d2881309cfb69355c208f2a7586 /shell/e-shell.c
parent28a37c0885ab3c031350f99f454774abfca8c35c (diff)
downloadgsoc2013-evolution-ec3cf6dfcd221bbce0a79df5431c4a737a2a7161.tar.gz
gsoc2013-evolution-ec3cf6dfcd221bbce0a79df5431c4a737a2a7161.tar.zst
gsoc2013-evolution-ec3cf6dfcd221bbce0a79df5431c4a737a2a7161.zip
If you can't get a pixbuf icon for the folder's type, do not crash.
* evolution-folder-selector-button.c (set_folder): If you can't get a pixbuf icon for the folder's type, do not crash. [#39599] * e-shell.c (impl_Shell__get_displayName): Removed. [#38974] (e_shell_class_init): Do not install anymore. * Evolution-Shell.idl: Remove displayName attribute. svn path=/trunk/; revision=20359
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 4bebc7a08f..ff7a844ae3 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -327,26 +327,6 @@ raise_exception_if_not_ready (PortableServer_Servant servant,
return FALSE;
}
-static CORBA_char *
-impl_Shell__get_displayName (PortableServer_Servant servant,
- CORBA_Environment *ev)
-{
- char *display_string;
- CORBA_char *retval;
-
- if (raise_exception_if_not_ready (servant, ev))
- return NULL;
-
- display_string = DisplayString (gdk_display);
- if (display_string == NULL)
- return CORBA_string_dup ("");
-
- retval = CORBA_string_dup (display_string);
- XFree (display_string);
-
- return retval;
-}
-
static GNOME_Evolution_ShellComponent
impl_Shell_getComponentByType (PortableServer_Servant servant,
const CORBA_char *type,
@@ -1208,7 +1188,6 @@ e_shell_class_init (EShellClass *klass)
G_TYPE_POINTER);
epv = & klass->epv;
- epv->_get_displayName = impl_Shell__get_displayName;
epv->getComponentByType = impl_Shell_getComponentByType;
epv->getIconByType = impl_Shell_getIconByType;
epv->createNewView = impl_Shell_createNewView;