summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-10-31 13:10:05 +0000
committerRüdiger Timm <rt@openoffice.org>2008-10-31 13:10:05 +0000
commit88e21bf16ca5bb90385013bcd13428d4b0837484 (patch)
tree6a2caf1fe04af7a6d63ba680633e37a13b4fdcba
parent800fe38b17d463ff35ed8e1da89b2a926a41950c (diff)
#i95536# Use gtk_paint_expander instead of gtk_draw_expander (patch by pl).
-rw-r--r--vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index 267886cea433..0c7b28d1027b 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -2912,9 +2912,12 @@ BOOL GtkSalGraphics::NWPaintGTKListNode(
return FALSE;
GdkDrawable* const &pixDrawable = GDK_DRAWABLE( pixmap );
- gtk_draw_expander( gWidgetData[m_nScreen].gTreeView->style,
+ gtk_paint_expander( gWidgetData[m_nScreen].gTreeView->style,
pixDrawable,
stateType,
+ NULL,
+ gWidgetData[m_nScreen].gTreeView,
+ "treeview",
w/2, h/2,
eStyle );