[gtk/wip/sadiq/fixes] reference: Fix docs to include the right header file



commit 387a15efb83bdfdbef53c7432ead3b0164a8018c
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Tue Jan 15 11:11:51 2019 +0530

    reference: Fix docs to include the right header file
    
    docs says to include "gtk/gtkunixprint.h" for many APIs though "gtk/gtk.h"
    has to be actually included.
    
    This commit doesn't fix the underlying issue (which is probably an issue
    in gtk-doc), but the generated docs shows the right header file which is
    better than showing the wrong one.
    
    fixes https://gitlab.gnome.org/GNOME/gtk/issues/1318

 docs/reference/gtk/gtk4-sections.txt | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 2e24ff6f3d..962be4e48d 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -5801,6 +5801,7 @@ gtk_page_setup_unix_dialog_get_type
 </SECTION>
 
 <SECTION>
+<INCLUDE>gtk/gtk.h</INCLUDE>
 <FILE>gtktesting</FILE>
 <TITLE>Testing</TITLE>
 gtk_test_init


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]