Mercurial > pidgin
comparison src/gtkimhtml.c @ 2365:4ab2903f28a1
[gaim-migrate @ 2378]
hi
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 26 Sep 2001 22:23:59 +0000 |
parents | 08c66712364c |
children | 8229710b343b |
comparison
equal
deleted
inserted
replaced
2364:94314b9dbda4 | 2365:4ab2903f28a1 |
---|---|
1912 { "STRING", 0, TARGET_STRING }, | 1912 { "STRING", 0, TARGET_STRING }, |
1913 { "TEXT", 0, TARGET_TEXT }, | 1913 { "TEXT", 0, TARGET_TEXT }, |
1914 { "COMPOUND_TEXT", 0, TARGET_COMPOUND_TEXT } | 1914 { "COMPOUND_TEXT", 0, TARGET_COMPOUND_TEXT } |
1915 }; | 1915 }; |
1916 | 1916 |
1917 imhtml->default_font = gtk_imhtml_font_load (imhtml, NULL, FALSE, FALSE, 0); | 1917 imhtml->default_font = gdk_font_ref (GTK_WIDGET (imhtml)->style->font); |
1918 if (imhtml->default_font == NULL) | |
1919 g_warning ("GtkIMHtml: Could not load default font!"); | |
1920 imhtml->default_fg_color = gdk_color_copy (>K_WIDGET (imhtml)->style->fg [GTK_STATE_NORMAL]); | 1918 imhtml->default_fg_color = gdk_color_copy (>K_WIDGET (imhtml)->style->fg [GTK_STATE_NORMAL]); |
1921 imhtml->default_bg_color = gdk_color_copy (>K_WIDGET (imhtml)->style->base [GTK_STATE_NORMAL]); | 1919 imhtml->default_bg_color = gdk_color_copy (>K_WIDGET (imhtml)->style->base [GTK_STATE_NORMAL]); |
1922 imhtml->hand_cursor = gdk_cursor_new (GDK_HAND2); | 1920 imhtml->hand_cursor = gdk_cursor_new (GDK_HAND2); |
1923 imhtml->arrow_cursor = gdk_cursor_new (GDK_LEFT_PTR); | 1921 imhtml->arrow_cursor = gdk_cursor_new (GDK_LEFT_PTR); |
1924 | 1922 |