Bug 627699 - Port GTK2 to GTK3, gtk2compat.h extension. r=karlt

This commit is contained in:
Martin Stransky 2012-06-27 20:15:32 -04:00
parent 8e60b812d6
commit d5ece17979

View File

@ -116,6 +116,12 @@ gtk_widget_set_window(GtkWidget *widget, GdkWindow *window)
{
widget->window = window;
}
static inline gboolean
gtk_widget_is_toplevel(GtkWidget *widget)
{
return GTK_WIDGET_TOPLEVEL(widget);
}
#endif
#if !GTK_CHECK_VERSION(2, 20, 0)