[Xfce4-commits] [xfce/thunar] 01/01: Drop unused macros

noreply at xfce.org noreply at xfce.org
Sun Apr 14 21:49:03 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 23ade8327fcf3d0dc0d22558abbd8a82dd2dfafd
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Apr 14 16:48:38 2019 -0300

    Drop unused macros
---
 thunar/thunar-abstract-icon-view.c | 4 ----
 thunar/thunar-image.c              | 4 ----
 thunar/thunar-job.c                | 4 ----
 thunar/thunar-standard-view.c      | 4 ----
 thunarx/thunarx-menu-item.c        | 2 --
 thunarx/thunarx-menu.c             | 2 --
 thunarx/thunarx-property-page.c    | 2 --
 thunarx/thunarx-renamer.c          | 6 +-----
 8 files changed, 1 insertion(+), 27 deletions(-)

diff --git a/thunar/thunar-abstract-icon-view.c b/thunar/thunar-abstract-icon-view.c
index 37097a4..91ee300 100644
--- a/thunar/thunar-abstract-icon-view.c
+++ b/thunar/thunar-abstract-icon-view.c
@@ -32,10 +32,6 @@
 
 
 
-#define THUNAR_ABSTRACT_ICON_VIEW_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), THUNAR_TYPE_ABSTRACT_ICON_VIEW, ThunarAbstractIconViewPrivate))
-
-
-
 static void         thunar_abstract_icon_view_style_set             (GtkWidget                    *widget,
                                                                      GtkStyle                     *previous_style);
 static void         thunar_abstract_icon_view_connect_ui_manager    (ThunarStandardView           *standard_view,
diff --git a/thunar/thunar-image.c b/thunar/thunar-image.c
index 3a1d701..e3fe3aa 100644
--- a/thunar/thunar-image.c
+++ b/thunar/thunar-image.c
@@ -33,10 +33,6 @@
 
 
 
-#define THUNAR_IMAGE_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), THUNAR_TYPE_IMAGE, ThunarImagePrivate))
-
-
-
 /* Property identifiers */
 enum
 {
diff --git a/thunar/thunar-job.c b/thunar/thunar-job.c
index d8eb9af..22f4028 100644
--- a/thunar/thunar-job.c
+++ b/thunar/thunar-job.c
@@ -38,10 +38,6 @@
 
 
 
-#define THUNAR_JOB_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), THUNAR_TYPE_JOB, ThunarJobPrivate))
-
-
-
 /* Signal identifiers */
 enum
 {
diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index 332679f..af514dd 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -60,10 +60,6 @@
 
 
 
-#define THUNAR_STANDARD_VIEW_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), THUNAR_TYPE_STANDARD_VIEW, ThunarStandardViewPrivate))
-
-
-
 /* Property identifiers */
 enum
 {
diff --git a/thunarx/thunarx-menu-item.c b/thunarx/thunarx-menu-item.c
index 98b3938..4969a6e 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 016a3d4..87c431a 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 cdb3c3c..952c590 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 f5c38d9..34094e0 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);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list