/[classpath]/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
ViewVC logotype

Diff of /classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by fitzsim, Thu Jul 24 22:04:49 2003 UTC revision 1.8 by fitzsim, Tue Jul 29 20:30:28 2003 UTC
# Line 117  Java_gnu_java_awt_peer_gtk_GtkTextFieldP Line 117  Java_gnu_java_awt_peer_gtk_GtkTextFieldP
117    gdk_threads_enter();    gdk_threads_enter();
118    
119    font_desc = pango_font_description_from_string (font_name);    font_desc = pango_font_description_from_string (font_name);
120    pango_font_description_set_size (font_desc, size);    pango_font_description_set_size (font_desc, size * PANGO_SCALE);
121    
122    gtk_widget_modify_font (GTK_WIDGET(entry), font_desc);    gtk_widget_modify_font (GTK_WIDGET(entry), font_desc);
123    
124    pango_font_description_free (font_desc);    pango_font_description_free (font_desc);
125    
126    gdk_threads_leave();    gdk_threads_leave();

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26