# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1300771317 0 # Node ID 1822c8a719365caea2ca937b46a6be320576b5f3 # Parent 8fe51d916b363e6daadc9a027fa644c2e75c5585 Removed a now unused helper function and fixed a discared qualifier error. diff -r 8fe51d916b36 -r 1822c8a71936 gtk3/dw.c --- a/gtk3/dw.c Tue Mar 22 05:07:39 2011 +0000 +++ b/gtk3/dw.c Tue Mar 22 05:21:57 2011 +0000 @@ -2621,19 +2621,6 @@ DW_MUTEX_UNLOCK; } -static int _set_font(HWND handle, char *fontname) -{ - int retval = FALSE; - PangoFontDescription *font = pango_font_description_from_string(fontname); - - if(font) - { - gtk_widget_modify_font(handle, font); - pango_font_description_free(font); - } - return retval; -} - /* * Sets the font used by a specified window (widget) handle. * Parameters: @@ -8473,7 +8460,7 @@ void dw_notebook_pack(HWND handle, unsigned long pageid, HWND page) { GtkWidget *label, *child, *oldlabel, **pagearray; - gchar *text = NULL; + const gchar *text = NULL; int num, z, realpage = -1, pad, _locked_by_me = FALSE; char ptext[100];