SF.net SVN: geany:[4361] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Oct 25 12:30:47 UTC 2009


Revision: 4361
          http://geany.svn.sourceforge.net/geany/?rev=4361&view=rev
Author:   eht16
Date:     2009-10-25 12:30:36 +0000 (Sun, 25 Oct 2009)

Log Message:
-----------
Add ui_widget_modify_font_from_string() to the plugin API.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/plugins/geanyfunctions.h
    trunk/src/plugindata.h
    trunk/src/plugins.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-10-25 12:21:05 UTC (rev 4360)
+++ trunk/ChangeLog	2009-10-25 12:30:36 UTC (rev 4361)
@@ -9,6 +9,8 @@
    opening of files like "test:0".
  * src/sidebar.c:
    Rename "select" variables into "selection" to avoid shadowed names.
+ * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
+   Add ui_widget_modify_font_from_string() to the plugin API.
 
 
 2009-10-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/plugins/geanyfunctions.h
===================================================================
--- trunk/plugins/geanyfunctions.h	2009-10-25 12:21:05 UTC (rev 4360)
+++ trunk/plugins/geanyfunctions.h	2009-10-25 12:30:36 UTC (rev 4361)
@@ -248,6 +248,8 @@
 	geany_functions->p_ui->entry_add_clear_icon
 #define ui_menu_add_document_items \
 	geany_functions->p_ui->menu_add_document_items
+#define ui_widget_modify_font_from_string \
+	geany_functions->p_ui->widget_modify_font_from_string
 #define dialogs_show_question \
 	geany_functions->p_dialogs->show_question
 #define dialogs_show_msgbox \

Modified: trunk/src/plugindata.h
===================================================================
--- trunk/src/plugindata.h	2009-10-25 12:21:05 UTC (rev 4360)
+++ trunk/src/plugindata.h	2009-10-25 12:30:36 UTC (rev 4361)
@@ -50,7 +50,7 @@
 enum {
 	/** The Application Programming Interface (API) version, incremented
 	 * whenever any plugin data types are modified or appended to. */
-	GEANY_API_VERSION = 162,
+	GEANY_API_VERSION = 163,
 
 	/** The Application Binary Interface (ABI) version, incremented whenever
 	 * existing fields in the plugin data types have to be changed or reordered. */
@@ -422,6 +422,7 @@
 	void		(*entry_add_clear_icon) (GtkEntry *entry);
 	void		(*menu_add_document_items) (GtkMenu *menu, struct GeanyDocument *active,
 				GCallback callback);
+	void		(*widget_modify_font_from_string) (GtkWidget *widget, const gchar *str);
 }
 UIUtilsFuncs;
 

Modified: trunk/src/plugins.c
===================================================================
--- trunk/src/plugins.c	2009-10-25 12:21:05 UTC (rev 4360)
+++ trunk/src/plugins.c	2009-10-25 12:30:36 UTC (rev 4361)
@@ -220,7 +220,8 @@
 	&ui_progress_bar_start,
 	&ui_progress_bar_stop,
 	&ui_entry_add_clear_icon,
-	&ui_menu_add_document_items
+	&ui_menu_add_document_items,
+	&ui_widget_modify_font_from_string
 };
 
 static DialogFuncs dialog_funcs = {


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