]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/mediactrl.cpp
cleanup - reformatting; simplified OnPaint
[wxWidgets.git] / src / unix / mediactrl.cpp
index 33d06eaca2b9ddebd49d216ca1778c90d017db89..1951484bbddd7bc29c18bfffbd62bd775df06f14 100644 (file)
@@ -478,10 +478,10 @@ bool wxGStreamerMediaBackend::Load(const wxURI& location)
     if(!GTK_WIDGET_REALIZED(m_ctrl->m_wxwindow))
     {
         //Not realized yet - set to connect at realization time
-        gtk_signal_connect( GTK_OBJECT(m_ctrl->m_wxwindow),
-                            "realize",
-                            GTK_SIGNAL_FUNC(wxGStreamerMediaBackend::OnGTKRealize),
-                            (gpointer) this );
+        g_signal_connect (m_ctrl->m_wxwindow,
+                          "realize",
+                          G_CALLBACK (wxGStreamerMediaBackend::OnGTKRealize),
+                          this);
     }
     else
     {