summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-09-04 21:04:46 +0200
committerGravatar waker <wakeroid@gmail.com>2012-09-04 21:04:46 +0200
commit691fcba4242407f5ca6ea7bd514f74daeda24fd8 (patch)
treee1a4f1c6f793e6acc3b00644d9f4faa2e31e55fd
parentfa5d12225e63f1024c58c728e628555985d565ad (diff)
fixed gtk3 error in tabstrip init
-rw-r--r--plugins/gtkui/ddbtabstrip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/ddbtabstrip.c b/plugins/gtkui/ddbtabstrip.c
index 8abfcfe3..b1b18b3d 100644
--- a/plugins/gtkui/ddbtabstrip.c
+++ b/plugins/gtkui/ddbtabstrip.c
@@ -329,7 +329,7 @@ ddb_tabstrip_init(DdbTabStrip *tabstrip)
tabstrip->movepos = 0;
drawctx_init (&tabstrip->drawctx);
#if GTK_CHECK_VERSION(3,0,0)
- gtk_widget_set_events (GTK_WIDGET (tabstrip), gtk_widget_get_events (GTK_WIDGET (mainwin)) | GDK_SCROLL_MASK);
+ gtk_widget_set_events (GTK_WIDGET (tabstrip), gtk_widget_get_events (GTK_WIDGET (tabstrip)) | GDK_SCROLL_MASK);
#endif
}