Commit 69fd08db authored by Michael Natterer's avatar Michael Natterer 😴

plug-ins: remove some more totally unused cruft from imagemap

with the nice side effect that it now compiles without further
changes on GTK+ 3.x
parent 7fa0321a
......@@ -62,8 +62,6 @@ static const gchar* circle_get_stock_icon_name(void);
static ObjectClass_t circle_class = {
N_("C_ircle"),
NULL, /* info_dialog */
NULL, /* icon */
NULL, /* mask */
circle_is_valid,
NULL, /* circle_destruct */
......
......@@ -204,7 +204,6 @@ get_preferences(void)
static void
init_preferences(void)
{
GdkColormap *colormap = gdk_drawable_get_colormap(gtk_widget_get_window (_dlg));
ColorSelData_t *colors = &_preferences.colors;
colors->normal_fg.red = 0;
......@@ -233,11 +232,6 @@ init_preferences(void)
preferences_load(&_preferences);
gdk_colormap_alloc_color(colormap, &colors->normal_fg, FALSE, TRUE);
gdk_colormap_alloc_color(colormap, &colors->normal_bg, FALSE, TRUE);
gdk_colormap_alloc_color(colormap, &colors->selected_fg, FALSE, TRUE);
gdk_colormap_alloc_color(colormap, &colors->selected_bg, FALSE, TRUE);
mru_set_size(_mru, _preferences.mru_size);
command_list_set_undo_level(_preferences.undo_levels);
}
......
......@@ -53,8 +53,6 @@ struct AreaInfoDialog_t;
struct ObjectClass_t {
const gchar *name;
AreaInfoDialog_t *info_dialog;
GdkPixmap *icon;
GdkBitmap *mask;
gboolean (*is_valid)(Object_t *obj);
void (*destruct)(Object_t *obj);
......
......@@ -72,8 +72,6 @@ static const gchar* polygon_get_stock_icon_name(void);
static ObjectClass_t polygon_class = {
N_("_Polygon"),
NULL, /* info_dialog */
NULL, /* icon */
NULL, /* mask */
polygon_is_valid,
polygon_destruct,
......
......@@ -67,8 +67,6 @@ static const gchar* rectangle_get_stock_icon_name(void);
static ObjectClass_t rectangle_class = {
N_("_Rectangle"),
NULL, /* info_dialog */
NULL, /* icon */
NULL, /* mask */
rectangle_is_valid,
NULL, /* rectangle_destruct */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment