gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Gabriele Giacone
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1735-g8e21cd0
Date: Sun, 11 Aug 2013 16:57:48 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  8e21cd011cf9e2ee2ae13d4f54742e7b969c314e (commit)
      from  91b70aaa5ca66827dc39495e9e6d4c640b5b0694 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=8e21cd011cf9e2ee2ae13d4f54742e7b969c314e


commit 8e21cd011cf9e2ee2ae13d4f54742e7b969c314e
Author: Gabriele Giacone <address@hidden>
Date:   Sun Aug 11 18:55:11 2013 +0200

    Extend warnings suppression to utilities/.

diff --git a/libmedia/gst/AudioInputGst.cpp b/libmedia/gst/AudioInputGst.cpp
index 47a4875..7f8887b 100644
--- a/libmedia/gst/AudioInputGst.cpp
+++ b/libmedia/gst/AudioInputGst.cpp
@@ -22,12 +22,7 @@
 #include "gnashconfig.h"
 #endif
 
-// deprecated since 2.32: g_value_array_get_nth, g_value_array_free
-// gstreamer devs keep using GValueArray deprecated in favour of GArray
-// 
http://lists.freedesktop.org/archives/gstreamer-devel/2012-October/037539.html
-#define GLIB_DISABLE_DEPRECATION_WARNINGS
-#include <glib-object.h>
-#undef GLIB_DISABLE_DEPRECATION_WARNINGS
+#include "GlibDeprecated.h"
 
 #include "gst/gst.h"
 #include "AudioInputGst.h"
diff --git a/libmedia/gst/GlibDeprecated.h b/libmedia/gst/GlibDeprecated.h
new file mode 100644
index 0000000..d1b092a
--- /dev/null
+++ b/libmedia/gst/GlibDeprecated.h
@@ -0,0 +1,30 @@
+/* 
+ *   Copyright (C) 2013 Free Software Foundation, Inc.
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ */ 
+
+#ifndef GLIB_DEPRECATED_H
+#define GLIB_DEPRECATED_H
+
+// deprecated since 2.32: g_value_array_get_nth, g_value_array_free
+// gstreamer devs keep using GValueArray deprecated in favour of GArray
+// 
http://lists.freedesktop.org/archives/gstreamer-devel/2012-October/037539.html
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+#include <glib-object.h>
+#undef GLIB_DISABLE_DEPRECATION_WARNINGS
+
+#endif
diff --git a/libmedia/gst/VideoInputGst.cpp b/libmedia/gst/VideoInputGst.cpp
index ba98300..113d92a 100644
--- a/libmedia/gst/VideoInputGst.cpp
+++ b/libmedia/gst/VideoInputGst.cpp
@@ -21,12 +21,7 @@
 #include "gnashconfig.h"
 #endif
 
-// deprecated since 2.32: g_value_array_get_nth, g_value_array_free
-// gstreamer devs keep using GValueArray deprecated in favour of GArray
-// 
http://lists.freedesktop.org/archives/gstreamer-devel/2012-October/037539.html
-#define GLIB_DISABLE_DEPRECATION_WARNINGS
-#include <glib-object.h>
-#undef GLIB_DISABLE_DEPRECATION_WARNINGS
+#include "GlibDeprecated.h"
 
 #include "VideoInputGst.h"
 #include "log.h"
diff --git a/utilities/findmicrophones.cpp b/utilities/findmicrophones.cpp
index 51e9e97..4849f2d 100644
--- a/utilities/findmicrophones.cpp
+++ b/utilities/findmicrophones.cpp
@@ -20,6 +20,8 @@
 #include "gnashconfig.h"
 #endif
 
+#include "gst/GlibDeprecated.h"
+
 #include "rc.h"
 #ifdef HAVE_GST_GST_H
 #include "gst/gst.h"
diff --git a/utilities/findwebcams.cpp b/utilities/findwebcams.cpp
index 8acc433..f3ba993 100644
--- a/utilities/findwebcams.cpp
+++ b/utilities/findwebcams.cpp
@@ -20,6 +20,8 @@
 #include "gnashconfig.h"
 #endif
 
+#include "gst/GlibDeprecated.h"
+
 #include <vector>
 #include <string>
 #include <iostream>

-----------------------------------------------------------------------

Summary of changes:
 libmedia/gst/AudioInputGst.cpp |    7 +------
 libmedia/gst/GlibDeprecated.h  |   30 ++++++++++++++++++++++++++++++
 libmedia/gst/VideoInputGst.cpp |    7 +------
 utilities/findmicrophones.cpp  |    2 ++
 utilities/findwebcams.cpp      |    2 ++
 5 files changed, 36 insertions(+), 12 deletions(-)
 create mode 100644 libmedia/gst/GlibDeprecated.h


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]