- export gkrellm_debug() function to plugins
This commit is contained in:
parent
a5194a3488
commit
eb074fa36e
|
@ -447,5 +447,11 @@ void win32_init_callbacks(void)
|
||||||
gkrellm_callbacks.gkrellm_gdk_text_markup_width = gkrellm_gdk_text_markup_width;
|
gkrellm_callbacks.gkrellm_gdk_text_markup_width = gkrellm_gdk_text_markup_width;
|
||||||
gkrellm_callbacks.gkrellm_gdk_draw_string_markup = gkrellm_gdk_draw_string_markup;
|
gkrellm_callbacks.gkrellm_gdk_draw_string_markup = gkrellm_gdk_draw_string_markup;
|
||||||
gkrellm_callbacks.gkrellm_gdk_draw_text_markup = gkrellm_gdk_draw_text_markup;
|
gkrellm_callbacks.gkrellm_gdk_draw_text_markup = gkrellm_gdk_draw_text_markup;
|
||||||
|
|
||||||
|
//---------------------------------------------------------------------------
|
||||||
|
// new since 2.3.2
|
||||||
|
|
||||||
|
gkrellm_callbacks.gkrellm_debug = gkrellm_debug;
|
||||||
|
|
||||||
} // win32_init_callbacks()
|
} // win32_init_callbacks()
|
||||||
|
|
||||||
|
|
|
@ -576,6 +576,10 @@ typedef struct
|
||||||
void (*gkrellm_gdk_draw_string_markup)(GdkDrawable *drawable, PangoFontDescription *font, GdkGC *gc, gint x, gint y, gchar *string);
|
void (*gkrellm_gdk_draw_string_markup)(GdkDrawable *drawable, PangoFontDescription *font, GdkGC *gc, gint x, gint y, gchar *string);
|
||||||
void (*gkrellm_gdk_draw_text_markup)(GdkDrawable *drawable, PangoFontDescription *font, GdkGC *gc, gint x, gint y, gchar *string, gint len);
|
void (*gkrellm_gdk_draw_text_markup)(GdkDrawable *drawable, PangoFontDescription *font, GdkGC *gc, gint x, gint y, gchar *string, gint len);
|
||||||
|
|
||||||
|
//---------------------------------------------------------------------------
|
||||||
|
// new since 2.3.2
|
||||||
|
|
||||||
|
void (*gkrellm_debug)(guint debug_level, const gchar *format, ...);
|
||||||
|
|
||||||
} win32_plugin_callbacks;
|
} win32_plugin_callbacks;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue