Mercurial > projects > dwt-linux
diff dwt/internal/gtk/OS.d @ 266:b302f82224e1
Fix: bitfield access for PangoLayoutLine
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 06 Jul 2008 15:34:54 +0200 |
parents | c0d810de7093 |
children | ffb904674b52 |
line wrap: on
line diff
--- a/dwt/internal/gtk/OS.d Sun Jul 06 15:34:21 2008 +0200 +++ b/dwt/internal/gtk/OS.d Sun Jul 06 15:34:54 2008 +0200 @@ -654,6 +654,7 @@ static this(){ dwt.internal.c.gtk.loadLib(); + dwt.internal.c.pango.loadLib(); if (OS.GTK_VERSION >= OS.buildVERSION (2, 10, 0)){ // dwt.internal.c.gtk_unix_print_2_0.loadLib(); } @@ -2240,7 +2241,6 @@ mixin ForwardGtkOsCFunc!(.pango_layout_iter_next_run); mixin ForwardGtkOsCFunc!(.pango_layout_line_get_extents); mixin ForwardGtkOsCFunc!(.pango_layout_line_x_to_index); - mixin ForwardGtkOsCFunc!(.pango_layout_line_get_resolved_dir); mixin ForwardGtkOsCFunc!(.pango_layout_new); mixin ForwardGtkOsCFunc!(.pango_layout_set_alignment ); mixin ForwardGtkOsCFunc!(.pango_layout_set_attributes); @@ -2264,6 +2264,10 @@ /* Field accessors */ + public static uint pango_layout_line_get_resolved_dir( PangoLayoutLine* line ){ + return line.resolved_dir(); + } + static void GTK_ACCEL_LABEL_SET_ACCEL_STRING( void *arg0, gchar * arg1 ) { (cast(GtkAccelLabel*)arg0).accel_string = arg1; } static gchar* GTK_ACCEL_LABEL_GET_ACCEL_STRING( void* arg0)