[virt-viewer 2/5] Remove unused VirtViewerNotebook::dispose

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The vfunc implementation is only chaining to its parent, removing it
will achieve the same result.
---
 src/virt-viewer-notebook.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/virt-viewer-notebook.c b/src/virt-viewer-notebook.c
index 07497e3..98b663f 100644
--- a/src/virt-viewer-notebook.c
+++ b/src/virt-viewer-notebook.c
@@ -57,12 +57,6 @@ virt_viewer_notebook_set_property (GObject *object, guint property_id,
 }
 
 static void
-virt_viewer_notebook_dispose (GObject *object)
-{
-    G_OBJECT_CLASS (virt_viewer_notebook_parent_class)->dispose (object);
-}
-
-static void
 virt_viewer_notebook_class_init (VirtViewerNotebookClass *klass)
 {
     GObjectClass *object_class = G_OBJECT_CLASS (klass);
@@ -71,7 +65,6 @@ virt_viewer_notebook_class_init (VirtViewerNotebookClass *klass)
 
     object_class->get_property = virt_viewer_notebook_get_property;
     object_class->set_property = virt_viewer_notebook_set_property;
-    object_class->dispose = virt_viewer_notebook_dispose;
 }
 
 static void
-- 
1.9.3

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux