diff --git a/app/actions/palettes-commands.c b/app/actions/palettes-commands.c index 7c4a0fb9c5..6acd9cc335 100644 --- a/app/actions/palettes-commands.c +++ b/app/actions/palettes-commands.c @@ -90,9 +90,7 @@ palettes_merge_callback (GtkWidget *widget, const gchar *palette_name, gpointer data) { -#ifdef __GNUC__ -#warning FIXME: reimplement palettes_merge_callback() -#endif + /* FIXME: reimplement palettes_merge_callback() */ #if 0 GimpContainerEditor *editor; GimpPalette *palette; diff --git a/app/core/gimpcurve.c b/app/core/gimpcurve.c index 3ae937dd52..2528dbd1a1 100644 --- a/app/core/gimpcurve.c +++ b/app/core/gimpcurve.c @@ -868,9 +868,7 @@ gimp_curve_get_uchar (GimpCurve *curve, gint i; g_return_if_fail (GIMP_IS_CURVE (curve)); -#ifdef __GNUC__ -#warning: FIXME: support n_samples != curve->n_samples -#endif + /* FIXME: support n_samples != curve->n_samples */ g_return_if_fail (n_samples == curve->n_samples); g_return_if_fail (samples != NULL); diff --git a/app/core/gimpdrawable-curves.c b/app/core/gimpdrawable-curves.c index b92eccc907..d4e900d8e0 100644 --- a/app/core/gimpdrawable-curves.c +++ b/app/core/gimpdrawable-curves.c @@ -78,9 +78,7 @@ gimp_drawable_curves_spline (GimpDrawable *drawable, gimp_data_freeze (GIMP_DATA (curve)); -#ifdef __GNUC__ -#warning FIXME: create a curves object with the right number of points -#endif + /* FIXME: create a curves object with the right number of points */ /* unset the last point */ gimp_curve_set_point (curve, curve->n_points - 1, -1, -1); diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c index 3e9f6a5e96..7705cf5e99 100644 --- a/app/core/gimpdrawable.c +++ b/app/core/gimpdrawable.c @@ -370,9 +370,7 @@ gimp_drawable_visibility_changed (GimpItem *item) output, "input"); } -#ifdef __GNUC__ -#warning FIXME: chain up again when above floating sel special case is gone -#endif + /* FIXME: chain up again when above floating sel special case is gone */ return; } @@ -1859,9 +1857,7 @@ gimp_drawable_attach_floating_sel (GimpDrawable *drawable, gimp_drawable_sync_source_node (drawable, FALSE); -#ifdef __GNUC__ -#warning FIXME: remove this hack when the floating sel is no layer any longer -#endif + /* FIXME: remove this hack when the floating sel is no layer any longer */ g_signal_emit_by_name (floating_sel, "visibility-changed"); } @@ -1880,9 +1876,7 @@ gimp_drawable_detach_floating_sel (GimpDrawable *drawable, gimp_drawable_sync_source_node (drawable, TRUE); -#ifdef __GNUC__ -#warning FIXME: remove this hack when the floating sel is no layer any longer -#endif + /* FIXME: remove this hack when the floating sel is no layer any longer */ g_signal_emit_by_name (floating_sel, "visibility-changed"); /* Invalidate the preview of the obscured drawable. We do this here diff --git a/app/core/gimpimagemap.c b/app/core/gimpimagemap.c index 94a5da85aa..cc6a58c74b 100644 --- a/app/core/gimpimagemap.c +++ b/app/core/gimpimagemap.c @@ -37,12 +37,6 @@ #include "gimpviewable.h" -#ifdef __GNUC__ -#warning FIXME: gegl_node_get_pad() or something similar needs to be public -#endif -gpointer gegl_node_get_pad (GeglNode *self, - const gchar *pad_name); - enum { FLUSH, diff --git a/app/core/gimplayer.c b/app/core/gimplayer.c index e5b32a51de..6c4fe0d55a 100644 --- a/app/core/gimplayer.c +++ b/app/core/gimplayer.c @@ -823,9 +823,7 @@ gimp_layer_transform (GimpItem *item, { GimpLayer *layer = GIMP_LAYER (item); -#ifdef __GNUC__ -#warning FIXME: make interpolated transformations work on layers without alpha -#endif + /* FIXME: make interpolated transformations work on layers without alpha */ if (interpolation_type != GIMP_INTERPOLATION_NONE && ! gimp_drawable_has_alpha (GIMP_DRAWABLE (item))) gimp_layer_add_alpha (layer); diff --git a/app/core/gimpparamspecs-duplicate.c b/app/core/gimpparamspecs-duplicate.c index 1e462fa63a..21e23257af 100644 --- a/app/core/gimpparamspecs-duplicate.c +++ b/app/core/gimpparamspecs-duplicate.c @@ -32,9 +32,7 @@ #include "gimpparamspecs-duplicate.h" -#ifdef __GNUC__ -#warning FIXME: this code is not yet general as it should be (gegl tool only atm) -#endif +/* FIXME: this code is not yet general as it should be (gegl tool only atm) */ GParamSpec * gimp_param_spec_duplicate (GParamSpec *pspec) diff --git a/app/core/gimpparamspecs.c b/app/core/gimpparamspecs.c index 67069f4833..1e83433abd 100644 --- a/app/core/gimpparamspecs.c +++ b/app/core/gimpparamspecs.c @@ -917,9 +917,7 @@ gimp_value_set_item (GValue *value, { g_return_if_fail (item == NULL || GIMP_IS_ITEM (item)); -#ifdef __GNUC__ -#warning FIXME remove hack as soon as bug #375864 is fixed -#endif + /* FIXME remove hack as soon as bug #375864 is fixed */ if (GIMP_VALUE_HOLDS_ITEM_ID (value)) { diff --git a/app/dialogs/quit-dialog.c b/app/dialogs/quit-dialog.c index 846e620c7b..454f3d33ec 100644 --- a/app/dialogs/quit-dialog.c +++ b/app/dialogs/quit-dialog.c @@ -91,9 +91,7 @@ quit_close_all_dialog_new (Gimp *gimp, g_return_val_if_fail (GIMP_IS_GIMP (gimp), NULL); -#ifdef __GNUC__ -#warning FIXME: need container of dirty images -#endif + /* FIXME: need container of dirty images */ images = gimp_displays_get_dirty_images (gimp); context = gimp_context_new (gimp, "close-all-dialog", diff --git a/app/gegl/gimpdesaturateconfig.c b/app/gegl/gimpdesaturateconfig.c index f188974258..3f9dc85502 100644 --- a/app/gegl/gimpdesaturateconfig.c +++ b/app/gegl/gimpdesaturateconfig.c @@ -62,9 +62,7 @@ gimp_desaturate_config_class_init (GimpDesaturateConfigClass *klass) object_class->set_property = gimp_desaturate_config_set_property; object_class->get_property = gimp_desaturate_config_get_property; -#ifdef __GNUC__ -#warning FIXME: change string when a desaturate icon gets added -#endif + /*FIXME: change string when a desaturate icon gets added */ viewable_class->default_stock_id = "gimp-convert-grayscale"; GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_MODE, diff --git a/app/widgets/gimpcolormapeditor.c b/app/widgets/gimpcolormapeditor.c index 3252c301cf..17aec5e5bd 100644 --- a/app/widgets/gimpcolormapeditor.c +++ b/app/widgets/gimpcolormapeditor.c @@ -19,9 +19,7 @@ #include -#ifdef __GNUC__ -#warning FIXME: #undef GTK_DISABLE_DEPRECATED -#endif +/* FIXME: #undef GTK_DISABLE_DEPRECATED */ #undef GTK_DISABLE_DEPRECATED #include diff --git a/app/widgets/gimpdialogfactory.c b/app/widgets/gimpdialogfactory.c index df9cd8dc04..ff1c157613 100644 --- a/app/widgets/gimpdialogfactory.c +++ b/app/widgets/gimpdialogfactory.c @@ -1461,9 +1461,7 @@ gimp_dialog_factories_clear_foreach (gconstpointer key, if (info->widget) continue; -#ifdef __GNUC__ -#warning FIXME: implement session info deletion -#endif + /* FIXME: implement session info deletion */ } } diff --git a/app/widgets/gimpselectioneditor.c b/app/widgets/gimpselectioneditor.c index a344f87921..8910aa986b 100644 --- a/app/widgets/gimpselectioneditor.c +++ b/app/widgets/gimpselectioneditor.c @@ -36,9 +36,7 @@ #include "core/gimpselection.h" #include "core/gimptoolinfo.h" -#ifdef __GNUC__ -#warning FIXME: #include "tools/tools-types.h" -#endif +/* FIXME: #include "tools/tools-types.h" */ #include "tools/tools-types.h" #include "tools/gimpregionselectoptions.h" diff --git a/app/widgets/gimptoolbox.c b/app/widgets/gimptoolbox.c index 0ef36fc354..c242cd75b4 100644 --- a/app/widgets/gimptoolbox.c +++ b/app/widgets/gimptoolbox.c @@ -827,9 +827,7 @@ toolbox_area_notify (GimpGuiConfig *config, gtk_widget_show (parent); -#ifdef __GNUC__ -#warning FIXME: fix GtkWrapBox child requisition/allocation instead of hacking badly (bug #162500). -#endif + /* FIXME: fix GtkWrapBox child requisition/allocation instead of hacking badly (bug #162500). */ gtk_widget_size_request (area, &req); gtk_widget_set_size_request (parent, req.width, req.height); } diff --git a/app/widgets/gimpuimanager.c b/app/widgets/gimpuimanager.c index 983ee4b141..ed71ba74e7 100644 --- a/app/widgets/gimpuimanager.c +++ b/app/widgets/gimpuimanager.c @@ -1053,9 +1053,7 @@ gimp_ui_manager_item_key_press (GtkWidget *widget, /* Stuff below taken from gtktooltip.c */ -#ifdef __GNUC__ -#warning FIXME: remove this crack as soon as a GTK+ widget_under_pointer() is available -#endif +/* FIXME: remove this crack as soon as a GTK+ widget_under_pointer() is available */ struct ChildLocation { diff --git a/libgimpwidgets/gimpoldwidgets.c b/libgimpwidgets/gimpoldwidgets.c index f8172b0306..7cc00ceb6d 100644 --- a/libgimpwidgets/gimpoldwidgets.c +++ b/libgimpwidgets/gimpoldwidgets.c @@ -23,6 +23,7 @@ #include +/* FIXME: #undef GTK_DISABLE_DEPRECATED */ #undef GTK_DISABLE_DEPRECATED #include diff --git a/plug-ins/common/gradient-map.c b/plug-ins/common/gradient-map.c index f4199d262b..84685c9ec5 100644 --- a/plug-ins/common/gradient-map.c +++ b/plug-ins/common/gradient-map.c @@ -264,9 +264,7 @@ get_samples_gradient (GimpDrawable *drawable) gradient_name = gimp_context_get_gradient (); -#ifdef __GNUC__ -#warning FIXME: "reverse" hardcoded to FALSE. -#endif + /* FIXME: "reverse" hardcoded to FALSE. */ gimp_gradient_get_uniform_samples (gradient_name, NSAMPLES, FALSE, &n_f_samples, &f_samples); diff --git a/plug-ins/file-xjt/xjt.c b/plug-ins/file-xjt/xjt.c index 22d3293dc2..f07be5d6ca 100644 --- a/plug-ins/file-xjt/xjt.c +++ b/plug-ins/file-xjt/xjt.c @@ -66,9 +66,7 @@ #include -#ifdef __GNUC__ -#warning GIMP_DISABLE_DEPRECATED -#endif +/* FIXME: #undef GTK_DISABLE_DEPRECATED */ #undef GIMP_DISABLE_DEPRECATED #include diff --git a/plug-ins/flame/flame.c b/plug-ins/flame/flame.c index f83eac26f4..16cbc22772 100644 --- a/plug-ins/flame/flame.c +++ b/plug-ins/flame/flame.c @@ -271,9 +271,7 @@ drawable_to_cmap (control_point *cp) gint num; gdouble *g; -#ifdef __GNUC__ -#warning FIXME: "reverse" hardcoded to FALSE. -#endif + /* FIXME: "reverse" hardcoded to FALSE. */ gimp_gradient_get_uniform_samples (name, 256, FALSE, &num, &g); diff --git a/plug-ins/gradient-flare/gradient-flare.c b/plug-ins/gradient-flare/gradient-flare.c index 5273d8f97d..92ed3e4536 100644 --- a/plug-ins/gradient-flare/gradient-flare.c +++ b/plug-ins/gradient-flare/gradient-flare.c @@ -4878,9 +4878,7 @@ gradient_get_values_external (const gchar *gradient_name, ci = gradient_cache_lookup (gradient_name, &found); if (!found) { -#ifdef __GNUC__ -#warning FIXME: "reverse" hardcoded to FALSE. -#endif + /* FIXME: "reverse" hardcoded to FALSE. */ gradient_get_values_real_external (gradient_name, ci->values, GRADIENT_RESOLUTION, FALSE); }