SF.net SVN: geany:[4364] trunk/src/ui_utils.c
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun Oct 25 22:43:15 UTC 2009
Revision: 4364
http://geany.svn.sourceforge.net/geany/?rev=4364&view=rev
Author: eht16
Date: 2009-10-25 22:43:15 +0000 (Sun, 25 Oct 2009)
Log Message:
-----------
Add missing API documentation (oops)
Modified Paths:
--------------
trunk/src/ui_utils.c
Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c 2009-10-25 22:27:13 UTC (rev 4363)
+++ trunk/src/ui_utils.c 2009-10-25 22:43:15 UTC (rev 4364)
@@ -1522,12 +1522,18 @@
}
-void ui_widget_modify_font_from_string(GtkWidget *wid, const gchar *str)
+/**
+ * Modifies the font of a widget using gtk_widget_modify_font().
+ *
+ * @param widget The widget.
+ * @param str The font name as expected by pango_font_description_from_string().
+ */
+void ui_widget_modify_font_from_string(GtkWidget *widget, const gchar *str)
{
PangoFontDescription *pfd;
pfd = pango_font_description_from_string(str);
- gtk_widget_modify_font(wid, pfd);
+ gtk_widget_modify_font(widget, pfd);
pango_font_description_free(pfd);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list