summaryrefslogtreecommitdiff
path: root/objects
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2014-08-24 17:20:35 +0200
committerHans Breuer <hans@breuer.org>2014-08-24 17:20:35 +0200
commit303051e778362333fd02a5bd5241814656f4bd8b (patch)
tree107288805b0c1d28d830e4f81f9f1d01345cb5a4 /objects
parentc7371d884e4a314a7e3f900e62d564b7815718ec (diff)
downloaddia-303051e778362333fd02a5bd5241814656f4bd8b.tar.xz
Make old "Standard - Bus" an alias in sheet, rather than code
Diffstat (limited to 'objects')
-rw-r--r--objects/network/bus.c8
-rw-r--r--objects/network/network.c2
2 files changed, 0 insertions, 10 deletions
diff --git a/objects/network/bus.c b/objects/network/bus.c
index 64c5b620..86d2a0ce 100644
--- a/objects/network/bus.c
+++ b/objects/network/bus.c
@@ -113,14 +113,6 @@ DiaObjectType bus_type =
&bus_type_ops /* ops */
};
-DiaObjectType bus_type_std = /* Old mistake, left for backwards compatibility */
-{
- "Standard - Bus", /* name */
- 0, /* version */
- (const char **) bus_xpm, /* pixmap */
- &bus_type_ops /* ops */
-};
-
static ObjectOps bus_ops = {
(DestroyFunc) bus_destroy,
(DrawFunc) bus_draw,
diff --git a/objects/network/network.c b/objects/network/network.c
index 791d3882..2829ada3 100644
--- a/objects/network/network.c
+++ b/objects/network/network.c
@@ -28,7 +28,6 @@
#include "plug-ins.h"
extern DiaObjectType bus_type;
-extern DiaObjectType bus_type_std;
extern DiaObjectType radiocell_type;
extern DiaObjectType basestation_type;
extern DiaObjectType wanlink_type;
@@ -42,7 +41,6 @@ dia_plugin_init(PluginInfo *info)
NULL, NULL))
return DIA_PLUGIN_INIT_ERROR;
- object_register_type(&bus_type_std);
object_register_type(&bus_type);
object_register_type(&radiocell_type);
object_register_type(&basestation_type);