After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622961 - Move TotemDiscMediaType get_type() and quark() functions from Totem
Move TotemDiscMediaType get_type() and quark() functions from Totem
Status: RESOLVED FIXED
Product: totem-pl-parser
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: totem-pl-parser-maint
totem-pl-parser-maint
Depends on:
Blocks: 622963
 
 
Reported: 2010-06-27 17:04 UTC by Philip Withnall
Modified: 2010-06-27 22:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Move TotemDiscMediaType get_type() and quark() functions from Totem (2.59 KB, patch)
2010-06-27 17:04 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2010-06-27 17:04:33 UTC
Created attachment 164755 [details] [review]
Move TotemDiscMediaType get_type() and quark() functions from Totem

Since the TotemDiscMediaType struct lives in totem-pl-parser, it makes sense for its get_type() and quark() functions to live in totem-pl-parser too.
Comment 1 Bastien Nocera 2010-06-27 18:13:09 UTC
Looks fine to commit except that the piece of C code should be generated using glib-mkenums, to avoid having to update it by hand in the future (if need be).
Comment 2 Philip Withnall 2010-06-27 22:31:46 UTC
commit 14b9b021554e054a748d2a9ffc9b9e243e2c6202
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Sat Jun 26 22:03:32 2010 +0100

    Move TotemDiscMediaType get_type() and quark() functions from Totem

 plparse/Makefile.am                |   10 +++++-----
 plparse/plparser.symbols           |    2 ++
 plparse/totem-disc.c               |   10 ++++++++++
 plparse/totem-disc.h               |    6 +++++-
 plparse/totem-pl-parser-builtins.h |    7 +++++--
 5 files changed, 27 insertions(+), 8 deletions(-)