[Xfce4-commits] [apps/xfburn] 01/01: code clean up for deprecated Glib/Gtk+ Widget definitions

noreply at xfce.org noreply at xfce.org
Wed Dec 4 00:08:02 CET 2019


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

k   a   t   a   n   a   s   t   e   e   l       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 apps/xfburn.

commit 7d016840a0b685a7645c8f77754f8eead4def361
Author: Rene Kjellerup <rk.katana.steel at gmail.com>
Date:   Tue Dec 3 15:01:33 2019 -0800

    code clean up for deprecated Glib/Gtk+ Widget definitions
    
    updated the remaining two xfburn widget XfburnProgressDialog and
    XfburnFileBrowser to use (widget_name)get_instance_private ().
---
 xfburn/xfburn-directory-browser.c | 2 +-
 xfburn/xfburn-progress-dialog.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfburn/xfburn-directory-browser.c b/xfburn/xfburn-directory-browser.c
index 4b8a172..53fae4a 100644
--- a/xfburn/xfburn-directory-browser.c
+++ b/xfburn/xfburn-directory-browser.c
@@ -36,7 +36,7 @@
 #include "xfburn-utils.h"
 #include "xfburn-settings.h"
 
-#define XFBURN_DIRECTORY_BROWSER_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), XFBURN_TYPE_DIRECTORY_BROWSER, XfburnDirectoryBrowserPrivate))
+#define XFBURN_DIRECTORY_BROWSER_GET_PRIVATE(obj) (xfburn_directory_browser_get_instance_private (XFBURN_DIRECTORY_BROWSER(obj)))
 
 typedef struct
 {
diff --git a/xfburn/xfburn-progress-dialog.c b/xfburn/xfburn-progress-dialog.c
index 42907c6..4690a0c 100644
--- a/xfburn/xfburn-progress-dialog.c
+++ b/xfburn/xfburn-progress-dialog.c
@@ -37,7 +37,7 @@
 #include "xfburn-main.h"
 #include "xfburn-utils.h"
 
-#define XFBURN_PROGRESS_DIALOG_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), XFBURN_TYPE_PROGRESS_DIALOG, XfburnProgressDialogPrivate))
+#define XFBURN_PROGRESS_DIALOG_GET_PRIVATE(obj) (xfburn_progress_dialog_get_instance_private (XFBURN_PROGRESS_DIALOG (obj)))
 
 enum {
   BURNING_DONE,

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


More information about the Xfce4-commits mailing list