changeset 790:1822c8a71936

Removed a now unused helper function and fixed a discared qualifier error.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 22 Mar 2011 05:21:57 +0000
parents 8fe51d916b36
children 4eb337e18caf
files gtk3/dw.c
diffstat 1 files changed, 1 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- 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];