diff options
author | Andre Miranda <andreldm@xfce.org> | 2019-04-14 16:48:38 -0300 |
---|---|---|
committer | Andre Miranda <andreldm@xfce.org> | 2019-04-14 16:48:38 -0300 |
commit | 23ade8327fcf3d0dc0d22558abbd8a82dd2dfafd (patch) | |
tree | 9d79a6503e9b4b8eb7be319779c98768ccdc0a2c /thunarx | |
parent | a19a6911df4d617e65b349914c8c3507afce8293 (diff) | |
download | thunar-23ade8327fcf3d0dc0d22558abbd8a82dd2dfafd.tar.gz |
Drop unused macros
Diffstat (limited to 'thunarx')
-rw-r--r-- | thunarx/thunarx-menu-item.c | 2 | ||||
-rw-r--r-- | thunarx/thunarx-menu.c | 2 | ||||
-rw-r--r-- | thunarx/thunarx-property-page.c | 2 | ||||
-rw-r--r-- | thunarx/thunarx-renamer.c | 6 |
4 files changed, 1 insertions, 11 deletions
diff --git a/thunarx/thunarx-menu-item.c b/thunarx/thunarx-menu-item.c index 98b39382..4969a6e7 100644 --- a/thunarx/thunarx-menu-item.c +++ b/thunarx/thunarx-menu-item.c @@ -27,8 +27,6 @@ -#define THUNARX_MENU_ITEM_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), THUNARX_TYPE_MENU_ITEM, ThunarxMenuItemPrivate)) - /** * SECTION: thunarx-menu-item * @short_description: The base class for menu items added to the context menus diff --git a/thunarx/thunarx-menu.c b/thunarx/thunarx-menu.c index 016a3d40..87c431a4 100644 --- a/thunarx/thunarx-menu.c +++ b/thunarx/thunarx-menu.c @@ -27,8 +27,6 @@ -#define THUNARX_MENU_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), THUNARX_TYPE_MENU, ThunarxMenuPrivate)) - /** * SECTION: thunarx-menu * @short_description: The base class for submenus added to the context menus diff --git a/thunarx/thunarx-property-page.c b/thunarx/thunarx-property-page.c index cdb3c3cf..952c5903 100644 --- a/thunarx/thunarx-property-page.c +++ b/thunarx/thunarx-property-page.c @@ -29,8 +29,6 @@ -#define THUNARX_PROPERTY_PAGE_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), THUNARX_TYPE_PROPERTY_PAGE, ThunarxPropertyPagePrivate)) - /** * SECTION: thunarx-property-page * @short_description: The base class for pages added to the properties dialog diff --git a/thunarx/thunarx-renamer.c b/thunarx/thunarx-renamer.c index f5c38d9b..34094e0e 100644 --- a/thunarx/thunarx-renamer.c +++ b/thunarx/thunarx-renamer.c @@ -29,10 +29,6 @@ -#define THUNARX_RENAMER_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), THUNARX_TYPE_RENAMER, ThunarxRenamerPrivate)) - - - /* Property identifiers */ enum { @@ -197,7 +193,7 @@ static void thunarx_renamer_init (ThunarxRenamer *renamer) { /* grab a pointer on the private data */ - renamer->priv = THUNARX_RENAMER_GET_PRIVATE (renamer); + renamer->priv = thunarx_renamer_get_instance_private (renamer); /* initialize the GtkBox to sane defaults */ gtk_orientable_set_orientation (GTK_ORIENTABLE (renamer), GTK_ORIENTATION_VERTICAL); |