This file is indexed.

/usr/share/pygtk/2.0/defs/pynotify.defs is in python-notify 0.1.1-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
;; -*- scheme -*-
; object definitions ...
(define-object Notification
  (in-module "Notify")
  (parent "GObject")
  (c-name "NotifyNotification")
  (gtype-id "NOTIFY_TYPE_NOTIFICATION")
)

;; Enumerations and flags ...

(define-enum Urgency
  (in-module "Notify")
  (c-name "NotifyUrgency")
  (gtype-id "NOTIFY_TYPE_URGENCY")
  (values
    '("low" "NOTIFY_URGENCY_LOW")
    '("normal" "NOTIFY_URGENCY_NORMAL")
    '("critical" "NOTIFY_URGENCY_CRITICAL")
  )
)


;; From /usr/include/libnotify/notification.h

(define-function notify_notification_get_type
  (c-name "notify_notification_get_type")
  (return-type "GType")
  (parameters
  )
)

(define-function notify_notification_new
  (c-name "notify_notification_new")
  (is-constructor-of "NotifyNotification")
  (return-type "NotifyNotification*")
  (parameters
    '("const-gchar*" "summary")
    '("const-gchar*" "message" (null-ok) (default "NULL"))
    '("const-gchar*" "icon" (null-ok) (default "NULL"))
  )
)

(define-method update
  (of-object "NotifyNotification")
  (c-name "notify_notification_update")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "summary")
    '("const-gchar*" "message" (null-ok) (default "NULL"))
    '("const-gchar*" "icon" (null-ok) (default "NULL"))
  )
)

(define-method show
  (of-object "NotifyNotification")
  (c-name "notify_notification_show")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method set_timeout
  (of-object "NotifyNotification")
  (c-name "notify_notification_set_timeout")
  (return-type "none")
  (parameters
    '("gint" "timeout")
  )
)

(define-method set_category
  (of-object "NotifyNotification")
  (c-name "notify_notification_set_category")
  (return-type "none")
  (parameters
    '("const-char*" "category")
  )
)

(define-method set_urgency
  (of-object "NotifyNotification")
  (c-name "notify_notification_set_urgency")
  (return-type "none")
  (parameters
    '("NotifyUrgency" "l")
  )
)

(define-method set_icon_from_pixbuf
  (of-object "NotifyNotification")
  (c-name "notify_notification_set_icon_from_pixbuf")
  (return-type "none")
  (parameters
    '("GdkPixbuf*" "icon")
  )
)

(define-method set_hint_int32
  (of-object "NotifyNotification")
  (c-name "notify_notification_set_hint_int32")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("gint" "value")
  )
)

(define-method set_hint_double
  (of-object "NotifyNotification")
  (c-name "notify_notification_set_hint_double")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("gdouble" "value")
  )
)

(define-method set_hint_string
  (of-object "NotifyNotification")
  (c-name "notify_notification_set_hint_string")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("const-gchar*" "value")
  )
)

(define-method set_hint_byte
  (of-object "NotifyNotification")
  (c-name "notify_notification_set_hint_byte")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("guchar" "value")
  )
)

(define-method set_hint_byte_array
  (of-object "NotifyNotification")
  (c-name "notify_notification_set_hint_byte_array")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("const-guchar*" "value")
    '("gsize" "len")
  )
)

(define-method clear_hints
  (of-object "NotifyNotification")
  (c-name "notify_notification_clear_hints")
  (return-type "none")
)

(define-method add_action
  (of-object "NotifyNotification")
  (c-name "notify_notification_add_action")
  (return-type "none")
  (parameters
    '("const-char*" "action")
    '("const-char*" "label")
    '("NotifyActionCallback" "callback")
    '("gpointer" "user_data")
    '("GFreeFunc" "free_func")
  )
)

(define-method clear_actions
  (of-object "NotifyNotification")
  (c-name "notify_notification_clear_actions")
  (return-type "none")
)

(define-method close
  (of-object "NotifyNotification")
  (c-name "notify_notification_close")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)



;; From /usr/include/libnotify/notify-enum-types.h

(define-function notify_urgency_get_type
  (c-name "notify_urgency_get_type")
  (return-type "GType")
)



;; From /usr/include/libnotify/notify.h

(define-function init
  (c-name "notify_init")
  (return-type "gboolean")
  (parameters
    '("const-char*" "app_name")
  )
)

(define-function uninit
  (c-name "notify_uninit")
  (return-type "none")
)

(define-function is_initted
  (c-name "notify_is_initted")
  (return-type "gboolean")
)

(define-function get_app_name
  (c-name "notify_get_app_name")
  (return-type "const-gchar*")
)

(define-function get_server_caps
  (c-name "notify_get_server_caps")
  (return-type "GList*")
)

(define-function get_server_info
  (c-name "notify_get_server_info")
  (return-type "gboolean")
  (parameters
    '("char**" "ret_name")
    '("char**" "ret_vendor")
    '("char**" "ret_version")
    '("char**" "ret_spec_version")
  )
)