mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-28 06:15:38 +00:00
compatibility for gtk 2.16
This commit is contained in:
1 parent
79ae07f940
commit
98938cd85e
1 file changed
+4
@@ -999,7 +999,11 @@ gtk_xtext_realize (GtkWidget * widget)
|
||||
|
||||
gdk_window_set_user_data (widget->window, widget);
|
||||
|
||||
#if GTK_CHECK_VERSION(2,24,0)
|
||||
xtext->depth = gdk_window_get_visual (widget->window)->depth;
|
||||
#else
|
||||
xtext->depth = gdk_drawable_get_visual (widget->window)->depth;
|
||||
#endif
|
||||
|
||||
val.subwindow_mode = GDK_INCLUDE_INFERIORS;
|
||||
val.graphics_exposures = 0;
|
||||
|
||||
Reference in new issue
Block a user