Kaydet (Commit) ca39d8fe authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast

Change-Id: Ia04113c52787aa7498ba11864313a39caa1c1d22
üst 1f1ce7e0
...@@ -993,7 +993,7 @@ void GtkSalFrame::InitCommon() ...@@ -993,7 +993,7 @@ void GtkSalFrame::InitCommon()
GtkGesture *pSwipe = gtk_gesture_swipe_new(m_pWindow); GtkGesture *pSwipe = gtk_gesture_swipe_new(m_pWindow);
g_signal_connect(pSwipe, "swipe", G_CALLBACK(gestureSwipe), this); g_signal_connect(pSwipe, "swipe", G_CALLBACK(gestureSwipe), this);
gtk_event_controller_set_propagation_phase(GTK_EVENT_CONTROLLER (pSwipe), GTK_PHASE_TARGET); gtk_event_controller_set_propagation_phase(GTK_EVENT_CONTROLLER (pSwipe), GTK_PHASE_TARGET);
g_object_weak_ref(G_OBJECT(m_pWindow), (GWeakNotify)g_object_unref, pSwipe); g_object_weak_ref(G_OBJECT(m_pWindow), reinterpret_cast<GWeakNotify>(g_object_unref), pSwipe);
#endif #endif
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment