mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 21:36:35 +00:00
gst/gstinfo.*: Make some internal API take const gchar * instead of just gchar * to avoid compiler warnings with g++-...
Original commit message from CVS: * gst/gstinfo.c: * gst/gstinfo.h: Make some internal API take const gchar * instead of just gchar * to avoid compiler warnings with g++-4.2.2 when passing string constants (partially fixes #478092).
This commit is contained in:
parent
d59d330076
commit
134da6c28e
3 changed files with 13 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/gstinfo.c:
|
||||||
|
* gst/gstinfo.h:
|
||||||
|
Make some internal API take const gchar * instead of just
|
||||||
|
gchar * to avoid compiler warnings with g++-4.2.2 when
|
||||||
|
passing string constants (partially fixes #478092).
|
||||||
|
|
||||||
2007-09-17 Wim Taymans <wim.taymans@gmail.com>
|
2007-09-17 Wim Taymans <wim.taymans@gmail.com>
|
||||||
|
|
||||||
* gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
|
* gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
|
||||||
|
|
|
@ -1031,7 +1031,8 @@ gst_debug_unset_threshold_for_name (const gchar * name)
|
||||||
}
|
}
|
||||||
|
|
||||||
GstDebugCategory *
|
GstDebugCategory *
|
||||||
_gst_debug_category_new (gchar * name, guint color, gchar * description)
|
_gst_debug_category_new (const gchar * name, guint color,
|
||||||
|
const gchar * description)
|
||||||
{
|
{
|
||||||
GstDebugCategory *cat;
|
GstDebugCategory *cat;
|
||||||
|
|
||||||
|
|
|
@ -337,9 +337,9 @@ void gst_debug_unset_threshold_for_name (const gchar * name);
|
||||||
*/
|
*/
|
||||||
#define GST_DEBUG_CATEGORY_STATIC(cat) static GstDebugCategory *cat = NULL
|
#define GST_DEBUG_CATEGORY_STATIC(cat) static GstDebugCategory *cat = NULL
|
||||||
/* do not use this function, use the macros below */
|
/* do not use this function, use the macros below */
|
||||||
GstDebugCategory *_gst_debug_category_new (gchar * name,
|
GstDebugCategory *_gst_debug_category_new (const gchar * name,
|
||||||
guint color,
|
guint color,
|
||||||
gchar * description);
|
const gchar * description);
|
||||||
/**
|
/**
|
||||||
* GST_DEBUG_CATEGORY_INIT:
|
* GST_DEBUG_CATEGORY_INIT:
|
||||||
* @cat: the category to initialize.
|
* @cat: the category to initialize.
|
||||||
|
|
Loading…
Reference in a new issue