[gnome-photos] print-notification: Change return type of new to void



commit 0c1f1e48ca17cb91d3720aec0fce4644bac61439
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Aug 12 00:24:33 2014 +0200

    print-notification: Change return type of new to void
    
    It is intended to be self managing and there is no need for the caller
    to have a pointer to it.

 src/photos-print-notification.c |    2 +-
 src/photos-print-notification.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-print-notification.c b/src/photos-print-notification.c
index b67b662..d6aab35 100644
--- a/src/photos-print-notification.c
+++ b/src/photos-print-notification.c
@@ -198,7 +198,7 @@ photos_print_notification_class_init (PhotosPrintNotificationClass *class)
 }
 
 
-GtkWidget *
+void
 photos_print_notification_new (GtkPrintOperation *print_op)
 {
   return g_object_new (PHOTOS_TYPE_PRINT_NOTIFICATION,
diff --git a/src/photos-print-notification.h b/src/photos-print-notification.h
index 9d64109..fcd6810 100644
--- a/src/photos-print-notification.h
+++ b/src/photos-print-notification.h
@@ -68,7 +68,7 @@ struct _PhotosPrintNotificationClass
 
 GType               photos_print_notification_get_type           (void) G_GNUC_CONST;
 
-GtkWidget          *photos_print_notification_new                (GtkPrintOperation *print_op);
+void                photos_print_notification_new                (GtkPrintOperation *print_op);
 
 G_END_DECLS
 


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