mirror of https://github.com/GNOME/gimp.git
Well, sometimes the most obvious solution is not the first one...
2002-04-12 Michael Natterer <mitch@gimp.org> Well, sometimes the most obvious solution is not the first one... * app/gimphelp.[ch]: removed _gimp_standard_help_func(). * app/libgimp_glue.c (gimp_standard_help_func): call gimp_help() directly.
This commit is contained in:
parent
b46ab216e6
commit
adad0f47e5
|
@ -1,3 +1,12 @@
|
|||
2002-04-12 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
Well, sometimes the most obvious solution is not the first one...
|
||||
|
||||
* app/gimphelp.[ch]: removed _gimp_standard_help_func().
|
||||
|
||||
* app/libgimp_glue.c (gimp_standard_help_func): call gimp_help()
|
||||
directly.
|
||||
|
||||
2002-04-12 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gimphelp.[ch]: removed usage of "the_gimp" by passing around
|
||||
|
|
|
@ -76,17 +76,6 @@ static void gimp_help_netscape (Gimp *gimp,
|
|||
|
||||
/* public functions */
|
||||
|
||||
/* The standard help function */
|
||||
void
|
||||
_gimp_standard_help_func (Gimp *gimp,
|
||||
const gchar *help_data)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
||||
|
||||
gimp_help (gimp, NULL, help_data);
|
||||
}
|
||||
|
||||
/* the main help function */
|
||||
void
|
||||
gimp_help (Gimp *gimp,
|
||||
const gchar *help_path,
|
||||
|
|
|
@ -30,14 +30,13 @@ enum
|
|||
};
|
||||
|
||||
|
||||
/* The standard help function */
|
||||
void _gimp_standard_help_func (Gimp *gimp,
|
||||
const gchar *help_data);
|
||||
|
||||
/* the main help function */
|
||||
void gimp_help (Gimp *gimp,
|
||||
const gchar *help_path,
|
||||
const gchar *help_data);
|
||||
/* the main help function
|
||||
*
|
||||
* there should be no need to use it in the common case
|
||||
*/
|
||||
void gimp_help (Gimp *gimp,
|
||||
const gchar *help_path,
|
||||
const gchar *help_data);
|
||||
|
||||
|
||||
#endif /* __GIMP_HELP_H__ */
|
||||
|
|
|
@ -166,5 +166,5 @@ gimp_unit_get_plural (GimpUnit unit)
|
|||
void
|
||||
gimp_standard_help_func (const gchar *help_data)
|
||||
{
|
||||
_gimp_standard_help_func (the_gimp, help_data);
|
||||
gimp_help (the_gimp, NULL, help_data);
|
||||
}
|
||||
|
|
|
@ -76,17 +76,6 @@ static void gimp_help_netscape (Gimp *gimp,
|
|||
|
||||
/* public functions */
|
||||
|
||||
/* The standard help function */
|
||||
void
|
||||
_gimp_standard_help_func (Gimp *gimp,
|
||||
const gchar *help_data)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
||||
|
||||
gimp_help (gimp, NULL, help_data);
|
||||
}
|
||||
|
||||
/* the main help function */
|
||||
void
|
||||
gimp_help (Gimp *gimp,
|
||||
const gchar *help_path,
|
||||
|
|
|
@ -30,14 +30,13 @@ enum
|
|||
};
|
||||
|
||||
|
||||
/* The standard help function */
|
||||
void _gimp_standard_help_func (Gimp *gimp,
|
||||
const gchar *help_data);
|
||||
|
||||
/* the main help function */
|
||||
void gimp_help (Gimp *gimp,
|
||||
const gchar *help_path,
|
||||
const gchar *help_data);
|
||||
/* the main help function
|
||||
*
|
||||
* there should be no need to use it in the common case
|
||||
*/
|
||||
void gimp_help (Gimp *gimp,
|
||||
const gchar *help_path,
|
||||
const gchar *help_data);
|
||||
|
||||
|
||||
#endif /* __GIMP_HELP_H__ */
|
||||
|
|
Loading…
Reference in New Issue