summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--markdown/application-development/advanced/pipeline-manipulation.md2
-rw-r--r--markdown/plugin-development/advanced/allocation.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/markdown/application-development/advanced/pipeline-manipulation.md b/markdown/application-development/advanced/pipeline-manipulation.md
index c35b170..624ce9e 100644
--- a/markdown/application-development/advanced/pipeline-manipulation.md
+++ b/markdown/application-development/advanced/pipeline-manipulation.md
@@ -274,7 +274,7 @@ Here is the code:
#include <gst/gst.h>
static GMainLoop *loop;
-static volatile gint counter;
+static gint counter;
static GstBus *bus;
static gboolean prerolled = FALSE;
static GstPad *sinkpad;
diff --git a/markdown/plugin-development/advanced/allocation.md b/markdown/plugin-development/advanced/allocation.md
index 80c8679..bdff786 100644
--- a/markdown/plugin-development/advanced/allocation.md
+++ b/markdown/plugin-development/advanced/allocation.md
@@ -287,7 +287,7 @@ function is implemented in the `my-example-meta.c` file:
GType
my_example_meta_api_get_type (void)
{
- static volatile GType type;
+ static GType type;
static const gchar *tags[] = { "foo", "bar", NULL };
if (g_once_init_enter (&type)) {