[gstreamer-bugs] [Bug 322911] Example in Application Development Manual uses non existant gst_init_get_popt_table

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Dec 13 07:15:28 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=322911
 GStreamer | documentation | Ver: 0.9.6





------- Additional Comments From Tim-Philipp Müller  2005-12-13 15:15 -------
I'd say let's just provide an example for 2.13/2.14 and mention that it's 2.14
only, after all, gnome-integrated apps that use GStreamer 0.10 will most likely
target gnome 2.14 anyway.


Does this look alright then?

  GOptionContext *ctx;
  GOptionGroup *group;

  ctx = g_option_context_new ("my-gnome-app");
  g_option_context_add_group (ctx, gst_init_get_option_group ());

  gnome_program_init ("my-gnome-app", "0.0.1",
                      LIBGNOMEUI_MODULE, argc, argv,
                      GNOME_PARAM_GOPTION_CONTEXT, ctx,
                      NULL);

?

Cheers
 -Tim

                      

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list