Skip to content

Commit

Permalink
unity-gtk-module: rename public headers
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed Dec 9, 2017
1 parent 0f2227e commit 23c94cd
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 13 deletions.
12 changes: 5 additions & 7 deletions unity-gtk-module/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
set(LIB_SOURCES
unity-gtk-action-group.h
appmenu-gtk-action-group.h
unity-gtk-action-group-private.h
unity-gtk-action-group.c
unity-gtk-action-private.h
unity-gtk-action.c
unity-gtk-menu-shell.h
appmenu-gtk-menu-shell.h
unity-gtk-menu-shell-private.h
unity-gtk-menu-shell.c
unity-gtk-menu-section-private.h
Expand Down Expand Up @@ -43,11 +43,9 @@ endif()

set(LIB_PUBLIC_HEADERS
appmenu-gtk-parser.h
unity-gtk-menu-shell.h
unity-gtk-action-group.h)
appmenu-gtk-menu-shell.h
appmenu-gtk-action-group.h)

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

install(FILES "appmenu-gtk-parser.h" DESTINATION ${GTK_MODULE_INCLUDE_DIR} RENAME "appmenu-gtk-parser.h")
install(FILES "unity-gtk-menu-shell.h" DESTINATION ${GTK_MODULE_INCLUDE_DIR} RENAME "appmenu-gtk-menu-shell.h")
install(FILES "unity-gtk-action-group.h" DESTINATION ${GTK_MODULE_INCLUDE_DIR} RENAME "appmenu-gtk-action-group.h")
install(FILES ${LIB_PUBLIC_HEADERS} DESTINATION ${GTK_MODULE_INCLUDE_DIR})
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ typedef GObjectClass UnityGtkActionGroupClass;

G_END_DECLS

#include "unity-gtk-menu-shell.h"
#include "appmenu-gtk-menu-shell.h"

G_BEGIN_DECLS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ typedef GMenuModelClass UnityGtkMenuShellClass;

G_END_DECLS

#include "unity-gtk-action-group.h"
#include "appmenu-gtk-action-group.h"

G_BEGIN_DECLS

Expand Down
2 changes: 1 addition & 1 deletion unity-gtk-module/lib/unity-gtk-action-group-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef __UNITY_GTK_ACTION_GROUP_PRIVATE_H__
#define __UNITY_GTK_ACTION_GROUP_PRIVATE_H__

#include "unity-gtk-action-group.h"
#include "appmenu-gtk-action-group.h"
#include "unity-gtk-menu-item-private.h"
#include <glib.h>

Expand Down
2 changes: 1 addition & 1 deletion unity-gtk-module/lib/unity-gtk-menu-shell-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef __UNITY_GTK_MENU_SHELL_PRIVATE_H__
#define __UNITY_GTK_MENU_SHELL_PRIVATE_H__

#include "unity-gtk-menu-shell.h"
#include "appmenu-gtk-menu-shell.h"
#include "unity-gtk-menu-item-private.h"

#include <glib-object.h>
Expand Down
4 changes: 2 additions & 2 deletions unity-gtk-module/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* William Hua <[email protected]>
*/

#include <unity-gtk-action-group.h>
#include <unity-gtk-menu-shell.h>
#include <appmenu-gtk-action-group.h>
#include <appmenu-gtk-menu-shell.h>
#include <gdk/gdkx.h>
#include <gtk/gtk.h>

Expand Down

0 comments on commit 23c94cd

Please sign in to comment.