Skip to content

Commit 81a11a0

Browse files
committed
update pango font names
"Mono" is now called "Monospace", how annoying
1 parent dd90d0a commit 81a11a0

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

TODO

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
- in OS X binary, click on sRGB.icm in Open dialog ... segv!
2+
3+
IM relocation problem?
4+
15
- program window, new tool, enter
26

37
fred = 12

src/imageheader.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ imageheader_build( GtkWidget *widget )
256256
FALSE );
257257
gtk_text_view_set_cursor_visible( GTK_TEXT_VIEW( imageheader->history ),
258258
FALSE );
259-
font_desc = pango_font_description_from_string( "Mono" );
259+
font_desc = pango_font_description_from_string( "Monospace" );
260260
gtk_widget_modify_font( imageheader->history, font_desc );
261261
pango_font_description_free( font_desc );
262262
gtk_container_add( GTK_CONTAINER( swin ), imageheader->history );

src/log.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ log_build( GtkWidget *widget )
8383
gtk_text_view_set_editable( GTK_TEXT_VIEW( log->view ), FALSE );
8484
gtk_text_view_set_cursor_visible( GTK_TEXT_VIEW( log->view ),
8585
FALSE );
86-
font_desc = pango_font_description_from_string( "Mono" );
86+
font_desc = pango_font_description_from_string( "Monospace" );
8787
gtk_widget_modify_font( log->view, font_desc );
8888
pango_font_description_free( font_desc );
8989

src/program.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,7 @@ program_text_new( void )
22072207
GtkWidget *text;
22082208

22092209
text = gtk_text_view_new();
2210-
font_desc = pango_font_description_from_string( "Mono" );
2210+
font_desc = pango_font_description_from_string( "Monospace" );
22112211
gtk_widget_modify_font( text, font_desc );
22122212
pango_font_description_free( font_desc );
22132213
tabs = program_tabs_new();

0 commit comments

Comments
 (0)