Skip to content
Browse files

fix missing gboolean/gpointer when building with FB_GUI_DISABLED

  • Loading branch information...
1 parent 98732f8 commit 038e3a5efd1b61950934145cdc0ac0aca367032d @prusnak prusnak committed Feb 25, 2014
Showing with 4 additions and 5 deletions.
  1. +2 −2 src/PluginAuto/X11/PluginWindowX11.cpp
  2. +2 −3 src/PluginAuto/X11/PluginWindowX11.h
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;

0 comments on commit 038e3a5

Please sign in to comment.
Something went wrong with that request. Please try again.