Skip to content

Commit

Permalink
fix missing gboolean/gpointer when building with FB_GUI_DISABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak committed Feb 25, 2014
1 parent 98732f8 commit 038e3a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/PluginAuto/X11/PluginWindowX11.cpp
Expand Up @@ -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
5 changes: 2 additions & 3 deletions src/PluginAuto/X11/PluginWindowX11.h
Expand Up @@ -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;
Expand Down

0 comments on commit 038e3a5

Please sign in to comment.