diff options
author | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | 2011-03-26 23:29:37 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-04-29 17:10:58 +0100 |
commit | 964de9fc7f6261a5f81ff3819d2be9fefd210106 (patch) | |
tree | ca219a67ac02f46fb2bba41e6d33ce85374f9a84 /src | |
parent | 26d42651c5c74b8a714682d678c2a40e6531a0c8 (diff) |
Pass --disable-gtk3 to configure to build against gtk2
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc index ddd0579..6d629ad 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -152,7 +152,11 @@ MainWindow* MainWindow::create() { void MainWindow::on_realize() { Gtk::Window::on_realize(); +#ifdef HAVE_GTK3 + get_window()->set_cursor(Gdk::Cursor::create(Gdk::WATCH)); +#else get_window()->set_cursor(Gdk::Cursor(Gdk::WATCH)); +#endif /* HAVE_GTK3 */ } MainWindow::~MainWindow() { |