Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fix missing gboolean/gpointer when building with FB_GUI_DISABLED #129

Merged
merged 1 commit into from

2 participants

@prusnak

No description provided.

@taxilian taxilian merged commit 88a6be3 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
4 src/PluginAuto/X11/PluginWindowX11.cpp
@@ -346,10 +346,10 @@ void PluginWindowX11::InvalidateWindow() const {
}
+#if FB_GUI_DISABLED != 1
gboolean PluginWindowX11::idleInvalidate(gpointer win) {
const PluginWindowX11 *w = reinterpret_cast<PluginWindowX11 *>(win);
-#if FB_GUI_DISABLED != 1
gdk_window_invalidate_rect(w->getWidgetWindow(), NULL, true);
-#endif // FB_GUI_DISABLED != 1
return FALSE;
}
+#endif // FB_GUI_DISABLED != 1
View
5 src/PluginAuto/X11/PluginWindowX11.h
@@ -72,10 +72,9 @@ namespace FB {
GtkWidget *m_container;
GtkWidget *m_canvas;
bool m_focus;
-#endif
- protected:
- static gboolean idleInvalidate(gpointer win);
+ static gboolean idleInvalidate(gpointer win);
+#endif
int32_t m_x;
int32_t m_y;
Something went wrong with that request. Please try again.