pkgsrc/chat/gg2/patches/patch-ai

22 lines
799 B
Text

$NetBSD: patch-ai,v 1.3 2005/04/13 16:31:26 rillig Exp $
Needed for ISO C90 compliance.
--- src/plugins/GUI/gui_chat.c.orig Wed Mar 9 15:02:36 2005
+++ src/plugins/GUI/gui_chat.c Tue Apr 12 11:40:12 2005
@@ -851,6 +851,7 @@ GtkWidget *create_chat(gui_chat_session
gint percent = 0;
gint number_of_workspaces = 0;
GtkWidget *chat_notebook_paned_size = NULL;
+ PangoFontDescription *font_desc;
if (!session || !plugin_name || !id)
return NULL;
@@ -1117,7 +1118,6 @@ GtkWidget *create_chat(gui_chat_session
/* set font of the message editing text_view */
- PangoFontDescription *font_desc;
fontstr = ggadu_config_var_get(gui_handler, "msg_out_edit_font");
font_desc = pango_font_description_from_string (fontstr);
gtk_widget_modify_font (input, font_desc);