7928be2255
fix a few potential use-before-check errors
...
Spotted by Andrey Karpov using static code analysis:
http://www.viva64.com/en/b/0273/
2014-08-16 00:59:19 +02:00
4bd5c185cc
plug-ins: gtk_image_new_from_stock() -> from_icon_name()
2014-05-12 00:20:48 +02:00
af8cebc2f7
plug-ins: only include "libgimp/gimp.h" and "libgimp/gimpui.h"
2013-11-01 22:13:05 +01:00
264d09b417
Rename colour and greyscale to color and grayscale respectively
2013-06-06 23:26:16 +02:00
ec786816bb
*/Makefile.am: merge INCLUDES into AM_CPPFLAGS
...
automake-1.13 finally warns about this anachronism.
2013-06-05 20:48:37 +02:00
0e0ed6e1ef
imagemap: Rebuild parsers (after .y update)
2013-04-11 20:55:48 +05:30
db95e20b0b
imagemap: Don't use strcpy() in unescape_text() ( #649172 )
...
strcpy() doesn't like overlapping strings and this causes other failures
in this unescaping code.
Also cleanup the code to follow our coding style.
2013-04-11 14:11:07 +05:30
bc8a6123c7
imagemap: Unescape simple xml encodings when reading csim format image maps (GB#649172)
2013-04-11 14:09:50 +05:30
5d1c8726a3
imagemap: Don't use fixed size buffer to print statusbar messages ( #691386 )
2013-01-16 17:23:52 +05:30
69fd08dbf8
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
2013-01-14 01:25:01 +01:00
7fa0321afc
Bug 691183 - GIMP uses deprecated GtkHandleBox widget
...
Simply get rid of the handle boxes now instead of waiting
for GTK+ 3.x, they were entirely pointless in this case anyway.
2013-01-14 01:08:57 +01:00
d1ced11415
plug-ins: add GEGL_CFLAGS to many Makefile.am's
2012-05-02 17:46:08 +02:00
e046056059
Bug #666751 : Replace M_PI with G_PI
2011-12-23 14:47:34 +05:30
1808e4cbc3
build: Fix the location of the libm dependency
...
The plug-ins use symbols in libm and that's why -lm is necessary, not
because libgimpmath uses it.
2011-12-12 23:42:52 +05:30
09a6c7cf67
imagemap: explicitly specify library dependencies
2011-12-12 00:30:59 +05:30
971b77d8c9
imagemap: Move variable to local block and delete dead assignment
2011-10-12 17:02:46 +05:30
f1d4dde36a
libgimpwidgets: add gdk_event_triggers_context_menu() to gimp3migration.[ch]
...
and remove gimp_button_event_triggers_context_menu() again. Update
all callers to use the new function.
2011-10-02 16:23:59 +02:00
fb6fea3b11
imagemap: Add missing include for gtk_box_new()
2011-10-02 19:44:28 +05:30
16817c666f
libgimpwidgets: add gtk_scrollbar_new() to gimp3migration.[ch]
...
and use it all over the place.
2011-10-02 14:36:41 +02:00
dcb4c6e34a
plug-ins: use gtk_box_new()
2011-09-30 12:18:24 +02:00
d92cd2f6c8
Add gimp_button_event_triggers_context_menu() and use it
...
instead of checking for event->button == 3, so context menus
work correctly on the Mac. Didn't change the image menu yet
because thet requires some more refactoring.
2011-09-19 00:47:23 +02:00
ab3fe10275
plug-ins: remove some more -Wunused-but-set-variable
2011-05-15 21:12:49 +02:00
7f635464b0
imagemap: Rebuild scanners
2011-04-27 21:12:40 +05:30
56f08d682b
imagemap: Add lexer options to not generate input and yyunput
2011-04-27 21:11:57 +05:30
d8a98bf7b3
imagemap: Rebuild parsers
2011-04-25 14:30:58 +05:30
58002ed20e
imagemap: Fix protos
2011-04-23 07:02:02 +05:30
7e6c026790
Globally use GDK_KEY_foo, remove the compat defines from widgets-enums.h
2011-04-11 23:43:03 +02:00
8c4d99f883
Bug 645456 - Inconsistent window (role) naming scheme
...
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
2011-04-08 20:31:34 +02:00
569299523e
Bug 641529 - Image Map plugin. The name of 2 buttons are not too clear
...
It can't hurt to have more obvious tooltips.
Changed to "Move Area to Top/Bottom".
2011-03-21 22:58:59 +01:00
fcfb7cf160
Use the new g_[s]list_free_full() instead of foreach() and free()
2011-03-07 17:11:28 +01:00
38fd77f5e9
plug-ins: some more s/gtk_container_add/gtk_box_pack_start/
2011-03-05 10:59:56 +01:00
203440521a
plug-ins: imagemap, init map type to the default type set in preferences
2011-02-23 23:15:01 +01:00
6ea2f4881a
plug-ins: imagemap, Don't show popup menu when button 1 is pressed
...
Showing the menu when dragging stuff around broke event handling in
various ways. Also only show the menu on right click.
2011-02-23 13:17:09 +01:00
cc3f1e8a24
plug-ins: imagemap, don't run execute for sash when redoing
...
It adds event handlers expecting the mouse button to be down, but it
isn't, so everything broke.
2011-02-23 13:17:05 +01:00
8621807a9f
plug-ins: imagemap, port to cairo
2011-02-23 13:17:04 +01:00
e012caf1a3
plug-ins: imagemap, tabs to spaces
2011-02-23 13:17:02 +01:00
136499d1ae
plug-ins/imagemap: Kill #define COMMAND_PROTO
...
Kill #define COMMAND_PROTO and move its definition to the only client,
and get rid of warnings about defined functions not being used.
2010-09-03 09:06:12 +02:00
e77dd90fc0
Bug 574018 - Add a manifest to executables
...
Created a resource file for plug-ins and a rule to link it to them.
The application icon file is smaller than the default one, there's no
point in doubling the size of a plug-in executable just for an icon.
If no problems turn up, this will close the bug.
2010-09-01 08:24:45 +02:00
8b31211639
Fix the bulid after GtkNotebookPage got deprecated in gtk-2-22
...
In all GtkNotebook::switch_page() callbacks, simply replace
GtkNotebookPage* by gpointer.
2010-07-16 15:24:25 +02:00
c6a2eaa5c4
plug-ins: use new item API instead of deprecated drawable API
2010-07-09 12:27:36 +02:00
5707f04066
plug-ins: remove dead code
...
Remove code that has been commented out long ago and that caused a
false positive when searching for use of deprecated GTK+ API.
2009-11-11 00:10:02 +01:00
8c49ecb2e5
plug-ins: remove dead code from the image-map plug-in
...
Remove code that has been commented out long ago when this plug-in
was ported from GtkCList to GtkTreeView.
2009-11-09 18:59:06 +01:00
018e8b0d29
Build with GSEAL_ENABLE and #undef it where accessors are missing
2009-10-17 20:31:57 +02:00
eb6bef33e4
Use gtk_widget_set_visible()
...
In places where the pattern
if (show)
gtk_widget_show (widget);
else
gtk_widget_hide (widget);
is used, change to
gtk_widget_set_visible (widget, show);
Also do some other minor cleanups.
2009-10-17 15:07:34 +02:00
8eccf3e2eb
Use GtkSelectionData's accessors
2009-10-09 23:02:23 +02:00
561c29522c
Use various GTK+ accessors instead of struct->member
2009-10-09 23:02:23 +02:00
83d2541613
Use gtk_widget_get_window() instead of widget->window
2009-10-09 23:02:23 +02:00
01e8de8ab7
Use gtk_widget_get_window() instead of widget->window
2009-10-09 23:02:22 +02:00
b2dd7d0ca3
Use gtk_widget_get_window() instead of widget->window
2009-10-09 23:02:22 +02:00
9c9306f653
Use GtkSelectionData's accessors
2009-10-09 23:02:22 +02:00