remove gtk_window_set_type_hint from GetTooltipColors, it's not necessary and GDK_WINDOW_TYPE_HINT_TOOLTIP is not available before GTK 2.10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -134,7 +134,6 @@ static bool GetColourFromGTKWidget(GdkColor& gdkColor,
|
||||
static void GetTooltipColors()
|
||||
{
|
||||
GtkWidget* widget = gtk_window_new(GTK_WINDOW_POPUP);
|
||||
gtk_window_set_type_hint((GtkWindow*)widget, GDK_WINDOW_TYPE_HINT_TOOLTIP);
|
||||
const char* name = "gtk-tooltip";
|
||||
if (gtk_check_version(2, 11, 0))
|
||||
name = "gtk-tooltips";
|
||||
|
Reference in New Issue
Block a user