Small random fixes.

This commit is contained in:
Christian Hammond 2006-06-06 19:45:19 +00:00
parent bc0afaba4d
commit 304e0ab4a8
3 changed files with 40 additions and 7 deletions

View File

@ -1,3 +1,9 @@
Tue Jun 06 12:44:48 PDT 2006 Christian Hammond <chipx86@chipx86.com>
* docs/reference/tmpl/notification.sgml:
* libnotify/notification.h:
- Small random fixes.
Tue Jun 06 01:45:46 PDT 2006 Christian Hammond <chipx86@chipx86.com> Tue Jun 06 01:45:46 PDT 2006 Christian Hammond <chipx86@chipx86.com>
* docs/reference/libnotify-docs.sgml: * docs/reference/libnotify-docs.sgml:

View File

@ -43,8 +43,33 @@ This is an opaque structure representing a notification. This should
not be used directly. Use the accessor functions below. not be used directly. Use the accessor functions below.
</para> </para>
@parent: The parent object.
@priv: Private data. <!-- ##### SIGNAL NotifyNotification::closed ##### -->
<para>
</para>
@notifynotification: the object which received the signal.
<!-- ##### ARG NotifyNotification:attach-widget ##### -->
<para>
</para>
<!-- ##### ARG NotifyNotification:body ##### -->
<para>
</para>
<!-- ##### ARG NotifyNotification:icon-name ##### -->
<para>
</para>
<!-- ##### ARG NotifyNotification:summary ##### -->
<para>
</para>
<!-- ##### ENUM NotifyUrgency ##### --> <!-- ##### ENUM NotifyUrgency ##### -->
<para> <para>

View File

@ -54,7 +54,7 @@ typedef struct _NotifyNotificationPrivate NotifyNotificationPrivate;
struct _NotifyNotification struct _NotifyNotification
{ {
GObject parent; GObject parent_object;
NotifyNotificationPrivate *priv; NotifyNotificationPrivate *priv;
}; };
@ -66,14 +66,14 @@ struct _NotifyNotificationClass
void (*closed)(NotifyNotification *notification); void (*closed)(NotifyNotification *notification);
}; };
/** /*
* Notification urgency levels. * Notification urgency levels.
*/ */
typedef enum typedef enum
{ {
NOTIFY_URGENCY_LOW, /**< Low urgency. */ NOTIFY_URGENCY_LOW,
NOTIFY_URGENCY_NORMAL, /**< Normal urgency. */ NOTIFY_URGENCY_NORMAL,
NOTIFY_URGENCY_CRITICAL, /**< Critical urgency. */ NOTIFY_URGENCY_CRITICAL,
} NotifyUrgency; } NotifyUrgency;
@ -154,4 +154,6 @@ void notify_notification_clear_actions(NotifyNotification *notification);
gboolean notify_notification_close(NotifyNotification *notification, gboolean notify_notification_close(NotifyNotification *notification,
GError **error); GError **error);
G_END_DECLS
#endif /* NOTIFY_NOTIFICATION_H */ #endif /* NOTIFY_NOTIFICATION_H */