[Xfce4-commits] [thunar-plugins/thunar-vcs-plugin] 05/13: Use g_object_unref instead of gtk_widget_unref

noreply at xfce.org noreply at xfce.org
Thu May 24 04:05:09 CEST 2018


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 thunar-plugins/thunar-vcs-plugin.

commit 69e01a6ddf3ae8c81efa0d6ea8cf7e384caac9cc
Author: Andre Miranda <andreldm at xfce.org>
Date:   Wed Nov 15 22:20:54 2017 -0300

    Use g_object_unref instead of gtk_widget_unref
---
 tvp-svn-helper/tsh-file-selection-dialog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tvp-svn-helper/tsh-file-selection-dialog.c b/tvp-svn-helper/tsh-file-selection-dialog.c
index 750e233..e3f94de 100644
--- a/tvp-svn-helper/tsh-file-selection-dialog.c
+++ b/tvp-svn-helper/tsh-file-selection-dialog.c
@@ -201,7 +201,7 @@ tsh_file_selection_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogF
       {
 	svn_pool_destroy (subpool);
 
-	gtk_widget_unref(GTK_WIDGET(dialog));
+	g_object_unref(GTK_WIDGET(dialog));
 
 	svn_error_clear(err);
 	return NULL;  //FIXME: needed ??
@@ -221,7 +221,7 @@ tsh_file_selection_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogF
     {
       svn_pool_destroy (subpool);
 
-      gtk_widget_unref(GTK_WIDGET(dialog));
+      g_object_unref(GTK_WIDGET(dialog));
 
       svn_error_clear(err);
       return NULL;

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


More information about the Xfce4-commits mailing list