gnomemm r2028 - in gstreamermm/trunk: . tools/extra_defs_gen
- From: jaalburqu svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r2028 - in gstreamermm/trunk: . tools/extra_defs_gen
- Date: Fri, 30 Jan 2009 20:02:03 +0000 (UTC)
Author: jaalburqu
Date: Fri Jan 30 20:02:03 2009
New Revision: 2028
URL: http://svn.gnome.org/viewvc/gnomemm?rev=2028&view=rev
Log:
2009-01-30 Josà Alburquerque <jaalburqu svn gnome org>
* tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Optimized
generated *_get_type() methods of plug-in enums so that they type is
gotten once, kept and then returned each time when the functions are
called.
* configure.ac: Updated minimum requirements of gstreamermm
dependencies.
Modified:
gstreamermm/trunk/ChangeLog
gstreamermm/trunk/configure.ac
gstreamermm/trunk/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc
Modified: gstreamermm/trunk/configure.ac
==============================================================================
--- gstreamermm/trunk/configure.ac (original)
+++ gstreamermm/trunk/configure.ac Fri Jan 30 20:02:03 2009
@@ -125,9 +125,9 @@
#########################################################################
# Dependancy checks (gtkmm is only used by examples)
#########################################################################
-gstreamermm_min_glibmm_version=2.8.0
-gstreamermm_min_gtkmm_version=2.10
-gstreamermm_min_gst_version=0.10.20
+gstreamermm_min_glibmm_version=2.16.0
+gstreamermm_min_gtkmm_version=2.12.0
+gstreamermm_min_gst_version=0.10.21
gstreamermm_min_libxmlpp_version=2.14.0
PKG_CHECK_MODULES(GSTREAMERMM, \
Modified: gstreamermm/trunk/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc
==============================================================================
--- gstreamermm/trunk/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc (original)
+++ gstreamermm/trunk/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc Fri Jan 30 20:02:03 2009
@@ -235,7 +235,9 @@
enumGTypeFunctionDefinitions +=
"static GType " + enumGetTypeFunctionName + "()\n" +
"{\n" +
- " return g_type_from_name(\"" + propertyCType + "\");\n" +
+ " static GType const type = g_type_from_name(\"" +
+ propertyCType + "\");\n" +
+ " return type;\n" +
"}\n\n";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]