Commit e543e308 authored by Maurits Rijk's avatar Maurits Rijk Committed by Maurits Rijk
Browse files

plug-ins/imagemap/imap_cmd_unselect_all.c plug-ins/imagemap/imap_main.c

2005-04-14  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_cmd_unselect_all.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_object_popup.c: removed bunch of
	compilation warnings (spotted by Sven Neumann).
parent a4b94c04
2005-04-14 Maurits Rijk <m.rijk@chello.nl>
* plug-ins/imagemap/imap_cmd_unselect_all.c
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_object_popup.c: removed bunch of
compilation warnings (spotted by Sven Neumann).
2005-04-14 Sven Neumann <sven@gimp.org>
* libgimp/gimpdrawable.[ch] (gimp_drawable_get_tile)
......
......@@ -3,7 +3,7 @@
*
* Generates clickable image maps.
*
* Copyright (C) 1998-2003 Maurits Rijk lpeek.mrijk@consunet.nl
* Copyright (C) 1998-2005 Maurits Rijk m.rijk@chello.nl
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -29,7 +29,10 @@
#include "libgimp/stdplugins-intl.h"
COMMAND_PROTO(unselect_all_command);
static void unselect_all_command_destruct(Command_t *command);
static CmdExecuteValue_t unselect_all_command_execute(Command_t *command);
/* COMMAND_PROTO(unselect_all_command); */
static CommandClass_t unselect_all_command_class = {
unselect_all_command_destruct,
......
......@@ -380,6 +380,7 @@ redraw_preview(void)
preview_redraw(_preview);
}
#ifdef _NOT_READY_YET
static void
set_preview_gray(void)
{
......@@ -393,6 +394,7 @@ set_preview_color(void)
_map_info.show_gray = FALSE;
set_zoom(_zoom_factor);
}
#endif
const char*
get_image_name(void)
......@@ -801,6 +803,7 @@ do_quit(void)
check_if_changed(really_quit, NULL);
}
#ifdef _NOT_READY_YET_
static void
do_undo(void)
{
......@@ -820,6 +823,7 @@ do_redo(void)
selection_thaw(_selection);
preview_thaw();
}
#endif
void
save(void)
......@@ -1028,11 +1032,13 @@ load(const gchar *filename)
check_if_changed(really_load, (gpointer) tmp_filename);
}
#ifdef _NOT_READY_YET_
static void
toggle_area_list(void)
{
selection_toggle_visibility(_selection);
}
#endif
static gboolean
close_callback(GtkWidget *widget, gpointer data)
......@@ -1264,6 +1270,8 @@ do_move_down(void)
*/
}
#ifdef _NOT_READY_YET_
static Command_t*
factory_toggle_area_list(void)
{
......@@ -1305,6 +1313,7 @@ factory_use_gimp_guides_dialog(void)
{
return gimp_guides_command_new(_shapes, _drawable);
}
#endif
static Command_t*
factory_move_up(void)
......
......@@ -61,7 +61,7 @@ object_popup_prepend_menu(ObjectPopup_t *popup, gchar *label,
void
object_handle_popup(ObjectPopup_t *popup, Object_t *obj, GdkEventButton *event)
{
int position = object_get_position_in_list(obj) + 1;
/* int position = object_get_position_in_list(obj) + 1; */
_current_obj = popup->obj = obj;
#ifdef _TEMP_
......
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