summaryrefslogtreecommitdiff
path: root/gtksourceview
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2015-08-15 12:45:02 +0200
committerPaolo Borelli <pborelli@gnome.org>2015-08-15 12:45:02 +0200
commit60b020df235451573a57e068703c4d61f0dff986 (patch)
treebaf020532090a39bdd800cedba3082011a76091f /gtksourceview
parent4bea03e762ccd7529ab1e874ff23fa87786b19d5 (diff)
downloadgtksourceview-60b020df235451573a57e068703c4d61f0dff986.tar.gz
Rephrase docs added in last commit
Diffstat (limited to 'gtksourceview')
-rw-r--r--gtksourceview/gtksourcecompletionproposal.c5
-rw-r--r--gtksourceview/gtksourcecompletionprovider.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gtksourceview/gtksourcecompletionproposal.c b/gtksourceview/gtksourcecompletionproposal.c
index 2aeecb2f..cb09ef85 100644
--- a/gtksourceview/gtksourcecompletionproposal.c
+++ b/gtksourceview/gtksourcecompletionproposal.c
@@ -35,8 +35,9 @@
* the corresponding get function. Only one of those get functions
* should return a value different from %NULL.
* The icon may be specified as a #GdkPixbuf, as an icon name or as a #GIcon by
- * implementing the corresponding get function. Only one of those get functions
- * should return a value different from %NULL.
+ * implementing the corresponding get function. At most one of those get functions
+ * should return a value different from %NULL, if they all return %NULL no icon
+ * will be used.
*/
#include "gtksourcecompletionproposal.h"
diff --git a/gtksourceview/gtksourcecompletionprovider.c b/gtksourceview/gtksourcecompletionprovider.c
index 248599dc..1d465f11 100644
--- a/gtksourceview/gtksourcecompletionprovider.c
+++ b/gtksourceview/gtksourcecompletionprovider.c
@@ -31,8 +31,9 @@
* The provider may be displayed in the completion window as a header row, showing
* its name and optionally an icon.
* The icon may be specified as a #GdkPixbuf, as an icon name or as a #GIcon by
- * implementing the corresponding get function. Only one of those get functions
- * should return a value different from %NULL.
+ * implementing the corresponding get function. At most one of those get functions
+ * should return a value different from %NULL, if they all return %NULL no icon
+ * will be used.
*/
#include "gtksourcecompletionprovider.h"