summaryrefslogtreecommitdiff
path: root/thunar
diff options
context:
space:
mode:
authorYongha Hwang <mshrimp@sogang.ac.kr>2022-02-25 23:14:42 +0000
committerAlexander Schwinn <alexxcons@xfce.org>2022-02-25 23:14:42 +0000
commit29a2720987aa6c34d49572d4fff4044a8bed83f2 (patch)
tree1dc4bcaa99ce6ce925ab29b258332594976a06fe /thunar
parentf8bb47020a59659842a725ff34fbbb5a0320186b (diff)
downloadthunar-29a2720987aa6c34d49572d4fff4044a8bed83f2.tar.gz
Generate documentation for internal functions (Issue #617)
Diffstat (limited to 'thunar')
-rw-r--r--thunar/Makefile.am10
-rw-r--r--thunar/thunar-gtk-extensions.c2
2 files changed, 10 insertions, 2 deletions
diff --git a/thunar/Makefile.am b/thunar/Makefile.am
index 6f9c5025..8f8497dc 100644
--- a/thunar/Makefile.am
+++ b/thunar/Makefile.am
@@ -203,6 +203,12 @@ thunar_SOURCES = \
thunar-window.c \
thunar-window.h
+noinst_LIBRARIES = thunar.a
+thunar_a_SOURCES =
+thunar_a_LIBADD = \
+ $(filter %.o, $(thunar_SOURCES:%.c=thunar-%.o)) \
+ $(wildcard $(top_builddir)/thunarx/.libs/*.o)
+
thunar_CFLAGS = \
$(EXO_CFLAGS) \
$(GIO_CFLAGS) \
@@ -261,7 +267,7 @@ uninstall-local:
-( cd $(DESTDIR)$(bindir) ; test -h Thunar && rm -f Thunar )
clean-local:
- rm -f *.core core core.* *.o
+ rm -f *.core core core.* *.o *.a
DISTCLEANFILES = \
thunar-settings.desktop
@@ -333,3 +339,5 @@ EXTRA_DIST = \
thunar-settings \
thunar.gresource.xml \
$(desktop_in_files)
+
+dist-hook: thunar.a
diff --git a/thunar/thunar-gtk-extensions.c b/thunar/thunar-gtk-extensions.c
index f1a18e65..f2197c0f 100644
--- a/thunar/thunar-gtk-extensions.c
+++ b/thunar/thunar-gtk-extensions.c
@@ -225,7 +225,7 @@ thunar_gtk_menu_run_at_event (GtkMenu *menu, GdkEvent *event)
* @... : additional arguments for @format.
*
* Sets the tooltip for the @widget to a string generated
- * from the @format and the additional arguments in @...<!--->.
+ * from the @format and the additional arguments in @...<!---->.
**/
void
thunar_gtk_widget_set_tooltip (GtkWidget *widget,