From 29a2720987aa6c34d49572d4fff4044a8bed83f2 Mon Sep 17 00:00:00 2001 From: Yongha Hwang Date: Fri, 25 Feb 2022 23:14:42 +0000 Subject: Generate documentation for internal functions (Issue #617) --- thunar/Makefile.am | 10 +++++++++- thunar/thunar-gtk-extensions.c | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'thunar') 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, -- cgit v1.2.1