Lines Matching refs:suggestion

28   DzlSuggestion *suggestion;  member
64 if (priv->suggestion == NULL) in dzl_suggestion_row_disconnect()
67 dzl_clear_signal_handler (priv->suggestion, &priv->notify_icon_handler); in dzl_suggestion_row_disconnect()
68 dzl_clear_signal_handler (priv->suggestion, &priv->notify_secondary_icon_handler); in dzl_suggestion_row_disconnect()
79 DzlSuggestion *suggestion) in on_notify_icon_cb() argument
85 g_assert (DZL_IS_SUGGESTION (suggestion)); in on_notify_icon_cb()
87 if ((surface = dzl_suggestion_get_icon_surface (suggestion, GTK_WIDGET (priv->image)))) in on_notify_icon_cb()
94 g_autoptr(GIcon) icon = dzl_suggestion_get_icon (suggestion); in on_notify_icon_cb()
102 DzlSuggestion *suggestion) in on_notify_secondary_icon_cb() argument
108 g_assert (DZL_IS_SUGGESTION (suggestion)); in on_notify_secondary_icon_cb()
110 …if ((surface = dzl_suggestion_get_secondary_icon_surface (suggestion, GTK_WIDGET (priv->secondary_… in on_notify_secondary_icon_cb()
117 g_autoptr(GIcon) icon = dzl_suggestion_get_secondary_icon (suggestion); in on_notify_secondary_icon_cb()
127 subtitle = dzl_suggestion_get_subtitle (priv->suggestion); in dzl_suggestion_set_orientation()
169 g_return_if_fail (priv->suggestion != NULL); in dzl_suggestion_row_connect()
172 g_signal_connect_object (priv->suggestion, in dzl_suggestion_row_connect()
179 g_signal_connect_object (priv->suggestion, in dzl_suggestion_row_connect()
185 on_notify_icon_cb (self, NULL, priv->suggestion); in dzl_suggestion_row_connect()
186 on_notify_secondary_icon_cb (self, NULL, priv->suggestion); in dzl_suggestion_row_connect()
188 gtk_label_set_label (priv->title, dzl_suggestion_get_title (priv->suggestion)); in dzl_suggestion_row_connect()
190 subtitle = dzl_suggestion_get_subtitle (priv->suggestion); in dzl_suggestion_row_connect()
202 if (priv->suggestion != NULL) in dzl_suggestion_row_dispose()
205 g_clear_object (&priv->suggestion); in dzl_suggestion_row_dispose()
325 return priv->suggestion; in dzl_suggestion_row_get_suggestion()
330 DzlSuggestion *suggestion) in dzl_suggestion_row_set_suggestion() argument
335 g_return_if_fail (!suggestion || DZL_IS_SUGGESTION (suggestion)); in dzl_suggestion_row_set_suggestion()
337 if (priv->suggestion != suggestion) in dzl_suggestion_row_set_suggestion()
339 if (priv->suggestion != NULL) in dzl_suggestion_row_set_suggestion()
342 g_clear_object (&priv->suggestion); in dzl_suggestion_row_set_suggestion()
345 if (suggestion != NULL) in dzl_suggestion_row_set_suggestion()
347 priv->suggestion = g_object_ref (suggestion); in dzl_suggestion_row_set_suggestion()