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).
This commit is contained in:
Maurits Rijk 2005-04-14 19:41:49 +00:00 committed by Maurits Rijk
parent a4b94c04b1
commit e543e3086a
4 changed files with 22 additions and 3 deletions

View File

@ -1,3 +1,10 @@
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)

View File

@ -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,

View File

@ -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)

View File

@ -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_