зеркало из https://github.com/mozilla/gecko-dev.git
Solaris/CC needs a cast here
This commit is contained in:
Родитель
dbf21d5d9e
Коммит
57b42a502c
|
@ -112,7 +112,7 @@ NS_IMETHODIMP nsRenderingContextGTK::Init(nsIDeviceContext* aContext,
|
||||||
gdk_window_ref((GdkWindow*)win);
|
gdk_window_ref((GdkWindow*)win);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
GtkWidget *w = aWindow->GetNativeData(NS_NATIVE_WIDGET);
|
GtkWidget *w = (GtkWidget *) aWindow->GetNativeData(NS_NATIVE_WIDGET);
|
||||||
|
|
||||||
win = gdk_pixmap_new(nsnull,
|
win = gdk_pixmap_new(nsnull,
|
||||||
w->allocation.width,
|
w->allocation.width,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче