[gstreamermm] Media Player Example: Use the m_* prefix for member variables.



commit 35263b1fefdbb9bd631164e223f88e7eaa1ab48a
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Fri May 7 14:50:22 2010 -0400

    	Media Player Example: Use the m_* prefix for member variables.
    
    	* examples/media_player_gtkmm/player_window.cc:
    	* examples/media_player_gtkmm/player_window.h (x_window_id): Rename to
    	m_xwindow_id so that it uses the m_* prefix like the rest of the
    	member variables do.

 ChangeLog                                    |    9 +++++++++
 examples/media_player_gtkmm/player_window.cc |    4 ++--
 examples/media_player_gtkmm/player_window.h  |    2 +-
 3 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index dfc76ff..3f54e19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-05-07  José Alburquerque  <jaalburqu svn gnome org>
+
+	Media Player Example: Use the m_* prefix for member variables.
+
+	* examples/media_player_gtkmm/player_window.cc:
+	* examples/media_player_gtkmm/player_window.h (x_window_id): Rename to
+	m_xwindow_id so that it uses the m_* prefix like the rest of the
+	member variables do.
+
 2010-05-06  José Alburquerque  <jaalburqu svn gnome org>
 
 	NEWS: Correct the file format.
diff --git a/examples/media_player_gtkmm/player_window.cc b/examples/media_player_gtkmm/player_window.cc
index ff467d3..61d4621 100644
--- a/examples/media_player_gtkmm/player_window.cc
+++ b/examples/media_player_gtkmm/player_window.cc
@@ -117,7 +117,7 @@ void PlayerWindow::on_video_area_realize()
   // When the video area (the drawing area) is realized, Get its X Window
   // ID and save it for when the Gst::XOverlay is ready to accept an ID in
   // which to draw the video.
-  x_window_id = GDK_WINDOW_XID(m_video_area.get_window()->gobj());
+  m_x_window_id = GDK_WINDOW_XID(m_video_area.get_window()->gobj());
 }
 
 // This function is used to receive asynchronous messages from mainPipeline's
@@ -141,7 +141,7 @@ void PlayerWindow::on_bus_message_sync(
 
   if(xoverlay)
   {
-    xoverlay->set_xwindow_id(x_window_id);
+    xoverlay->set_xwindow_id(m_x_window_id);
   }
 }
 
diff --git a/examples/media_player_gtkmm/player_window.h b/examples/media_player_gtkmm/player_window.h
index ba711f0..11fd9ca 100644
--- a/examples/media_player_gtkmm/player_window.h
+++ b/examples/media_player_gtkmm/player_window.h
@@ -78,7 +78,7 @@ protected:
   sigc::connection m_timeout_connection;
   guint m_watch_id;
   gint64 m_duration;
-  gulong x_window_id;
+  gulong m_x_window_id;
   gulong m_pad_probe_id;
 };
 



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