summaryrefslogtreecommitdiff
path: root/gst/games
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 17:30:26 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 22:46:41 +0100
commit775c7584fdad53053ae5b22bb19074cc6022ee98 (patch)
tree149c7daf4efd3ecaf17a179949e20b44347859ab /gst/games
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/games')
-rw-r--r--gst/games/gstpuzzle.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gst/games/gstpuzzle.c b/gst/games/gstpuzzle.c
index 5283b6b76..9e35f0424 100644
--- a/gst/games/gstpuzzle.c
+++ b/gst/games/gstpuzzle.c
@@ -120,17 +120,16 @@ gst_puzzle_get_type (void)
static void
gst_puzzle_base_init (gpointer g_class)
{
- static const GstElementDetails puzzle_details =
- GST_ELEMENT_DETAILS ("A simple puzzle",
- "Filter/Effect/Video/Games",
- "A simple puzzle, use arrow keys and space to restart/solve",
- "Benjamin Otte <otte@gnome.org>");
+
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
GstVideofilterClass *videofilter_class = GST_VIDEOFILTER_CLASS (g_class);
int i;
GstVideofilterFormat *f;
- gst_element_class_set_details (element_class, &puzzle_details);
+ gst_element_class_set_details_simple (element_class, "A simple puzzle",
+ "Filter/Effect/Video/Games",
+ "A simple puzzle, use arrow keys and space to restart/solve",
+ "Benjamin Otte <otte@gnome.org>");
for (i = 0; i < gst_video_format_count; i++) {
f = g_new0 (GstVideofilterFormat, 1);