gimpgradientmenu.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* LIBGIMP - The GIMP Library
  2. * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
  3. *
  4. * gimpgradientmenu.h
  5. *
  6. * This library is free software: you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 3 of the License, or (at your option) any later version.
  10. *
  11. * This library is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with this library. If not, see
  18. * <http://www.gnu.org/licenses/>.
  19. */
  20. #if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
  21. #error "Only <libgimp/gimpui.h> can be included directly."
  22. #endif
  23. #ifndef __GIMP_GRAIDENT_MENU_H__
  24. #define __GIMP_GRADIENT_MENU_H__
  25. /* These functions are deprecated and should not be used in newly
  26. * written code.
  27. */
  28. G_BEGIN_DECLS
  29. GIMP_DEPRECATED_FOR(gimp_gradient_select_button_new)
  30. GtkWidget * gimp_gradient_select_widget_new (const gchar *title,
  31. const gchar *gradient_name,
  32. GimpRunGradientCallback callback,
  33. gpointer data);
  34. GIMP_DEPRECATED_FOR(gimp_select_button_close_popup)
  35. void gimp_gradient_select_widget_close (GtkWidget *widget);
  36. GIMP_DEPRECATED_FOR(gimp_gradient_select_button_set_gradient)
  37. void gimp_gradient_select_widget_set (GtkWidget *widget,
  38. const gchar *gradient_name);
  39. G_END_DECLS
  40. #endif /* __GIMP_GRADIENT_MENU_H__ */