Re: [PATCH 5/5] Remove useless {get, set}_property functions

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

 



On Thu, Oct 29, 2015 at 9:40 PM, Eduardo Lima (Etrunko)
<etrunko@xxxxxxxxxx> wrote:
> Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx>
> ---
>  src/virt-viewer.c | 22 ----------------------
>  1 file changed, 22 deletions(-)
>
> diff --git a/src/virt-viewer.c b/src/virt-viewer.c
> index dd8dbba..10f624d 100644
> --- a/src/virt-viewer.c
> +++ b/src/virt-viewer.c
> @@ -74,26 +74,6 @@ static void virt_viewer_dispose (GObject *object);
>  static int virt_viewer_connect(VirtViewerApp *app, GError **error);
>
>  static void
> -virt_viewer_get_property (GObject *object, guint property_id,
> -                          GValue *value G_GNUC_UNUSED, GParamSpec *pspec)
> -{
> -    switch (property_id) {
> -    default:
> -        G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
> -    }
> -}
> -
> -static void
> -virt_viewer_set_property (GObject *object, guint property_id,
> -                          const GValue *value G_GNUC_UNUSED, GParamSpec *pspec)
> -{
> -    switch (property_id) {
> -    default:
> -        G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
> -    }
> -}
> -
> -static void
>  virt_viewer_class_init (VirtViewerClass *klass)
>  {
>      GObjectClass *object_class = G_OBJECT_CLASS (klass);
> @@ -101,8 +81,6 @@ virt_viewer_class_init (VirtViewerClass *klass)
>
>      g_type_class_add_private (klass, sizeof (VirtViewerPrivate));
>
> -    object_class->get_property = virt_viewer_get_property;
> -    object_class->set_property = virt_viewer_set_property;
>      object_class->dispose = virt_viewer_dispose;
>
>      app_class->initial_connect = virt_viewer_initial_connect;
> --
> 2.4.3
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/virt-tools-list

ack!

_______________________________________________
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