Skip to content

Commit 0f2227e

Browse files
committed
Unity-gtk-module: rename unity-gtk-parser.h correctly. For #149
1 parent 5fbf869 commit 0f2227e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

unity-gtk-module/lib/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ if (GTK2_FOUND)
4242
endif()
4343

4444
set(LIB_PUBLIC_HEADERS
45-
unity-gtk-parser.h
45+
appmenu-gtk-parser.h
4646
unity-gtk-menu-shell.h
4747
unity-gtk-action-group.h)
4848

4949
set(GTK_MODULE_INCLUDE_DIR ${CMAKE_INSTALL_INCLUDEDIR}/appmenu-gtk-parser)
5050

51-
install(FILES "unity-gtk-parser.h" DESTINATION ${GTK_MODULE_INCLUDE_DIR} RENAME "appmenu-gtk-parser.h")
51+
install(FILES "appmenu-gtk-parser.h" DESTINATION ${GTK_MODULE_INCLUDE_DIR} RENAME "appmenu-gtk-parser.h")
5252
install(FILES "unity-gtk-menu-shell.h" DESTINATION ${GTK_MODULE_INCLUDE_DIR} RENAME "appmenu-gtk-menu-shell.h")
5353
install(FILES "unity-gtk-action-group.h" DESTINATION ${GTK_MODULE_INCLUDE_DIR} RENAME "appmenu-gtk-action-group.h")

unity-gtk-module/lib/unity-gtk-parser.h renamed to unity-gtk-module/lib/appmenu-gtk-parser.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef __UNITY_GTK_PARSER_H__
2121
#define __UNITY_GTK_PARSER_H__
2222

23-
#include <unity-gtk-action-group.h>
24-
#include <unity-gtk-menu-shell.h>
23+
#include <appmenu-gtk-action-group.h>
24+
#include <appmenu-gtk-menu-shell.h>
2525

2626
#endif /* __UNITY_GTK_PARSER_H__ */

unity-gtk-module/src/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
* William Hua <[email protected]>
1818
*/
1919

20-
#include "unity-gtk-parser.h"
20+
#include <unity-gtk-action-group.h>
21+
#include <unity-gtk-menu-shell.h>
2122
#include <gdk/gdkx.h>
2223
#include <gtk/gtk.h>
2324

0 commit comments

Comments
 (0)