aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component-dnd.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-01-14 02:51:39 +0800
committerDan Winship <danw@src.gnome.org>2003-01-14 02:51:39 +0800
commit092ccc49c41a41cb3b395750d3a0b0a201f72151 (patch)
tree9df48d4c79bee096427cffdcb102d9fced6998f5 /shell/evolution-shell-component-dnd.c
parentefa11b778153e179c7739e6fe8ed7622f0fdfe27 (diff)
downloadgsoc2013-evolution-092ccc49c41a41cb3b395750d3a0b0a201f72151.tar.gz
gsoc2013-evolution-092ccc49c41a41cb3b395750d3a0b0a201f72151.tar.zst
gsoc2013-evolution-092ccc49c41a41cb3b395750d3a0b0a201f72151.zip
s/BonoboXObject/BonoboObject/ (for BONOBO_DISABLE_DEPRECATED)
* s/BonoboXObject/BonoboObject/ (for BONOBO_DISABLE_DEPRECATED) svn path=/trunk/; revision=19427
Diffstat (limited to 'shell/evolution-shell-component-dnd.c')
-rw-r--r--shell/evolution-shell-component-dnd.c29
1 files changed, 10 insertions, 19 deletions
diff --git a/shell/evolution-shell-component-dnd.c b/shell/evolution-shell-component-dnd.c
index e583265b40..61bb3565e1 100644
--- a/shell/evolution-shell-component-dnd.c
+++ b/shell/evolution-shell-component-dnd.c
@@ -27,9 +27,9 @@
#include <gtk/gtkobject.h>
-#define PARENT_TYPE (bonobo_x_object_get_type ())
+#define PARENT_TYPE (bonobo_object_get_type ())
-static BonoboXObjectClass *parent_class;
+static BonoboObjectClass *parent_class;
/* Source Folder stuff */
@@ -149,14 +149,10 @@ evolution_shell_component_dnd_source_folder_init (EvolutionShellComponentDndSour
folder->priv = priv;
}
-E_MAKE_X_TYPE (evolution_shell_component_dnd_source_folder,
- "EvolutionShellComponentDndSourceFolder",
- EvolutionShellComponentDndSourceFolder,
- evolution_shell_component_dnd_source_folder_class_init,
- evolution_shell_component_dnd_source_folder_init,
- PARENT_TYPE,
- POA_GNOME_Evolution_ShellComponentDnd_SourceFolder__init,
- G_STRUCT_OFFSET (EvolutionShellComponentDndSourceFolderClass, epv))
+BONOBO_TYPE_FUNC_FULL (EvolutionShellComponentDndSourceFolder,
+ GNOME_Evolution_ShellComponentDnd_SourceFolder,
+ PARENT_TYPE,
+ evolution_shell_component_dnd_source_folder)
EvolutionShellComponentDndSourceFolder*
evolution_shell_component_dnd_source_folder_new (DndSourceFolderBeginDragFn begin_drag,
@@ -272,15 +268,10 @@ evolution_shell_component_dnd_destination_folder_init (EvolutionShellComponentDn
folder->priv = priv;
}
-
-E_MAKE_X_TYPE (evolution_shell_component_dnd_destination_folder,
- "EvolutionShellComponentDndDestinationFolder",
- EvolutionShellComponentDndDestinationFolder,
- evolution_shell_component_dnd_destination_folder_class_init,
- evolution_shell_component_dnd_destination_folder_init,
- PARENT_TYPE,
- POA_GNOME_Evolution_ShellComponentDnd_DestinationFolder__init,
- G_STRUCT_OFFSET (EvolutionShellComponentDndDestinationFolderClass, epv))
+BONOBO_TYPE_FUNC_FULL (EvolutionShellComponentDndDestinationFolder,
+ GNOME_Evolution_ShellComponentDnd_DestinationFolder,
+ PARENT_TYPE,
+ evolution_shell_component_dnd_destination_folder)
EvolutionShellComponentDndDestinationFolder *
evolution_shell_component_dnd_destination_folder_new (DndDestinationFolderHandleMotionFn handle_motion,