MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / ghb_queue_row_set_property

Function ghb_queue_row_set_property

gtk/src/ghb-queue-row.c:153–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153static void
154ghb_queue_row_set_property (GObject *object, guint prop_id,
155 const GValue *value, GParamSpec *pspec)
156{
157 GhbQueueRow *self = GHB_QUEUE_ROW(object);
158 g_return_if_fail(GHB_IS_QUEUE_ROW(self));
159
160 switch (prop_id)
161 {
162 case PROP_DEST:
163 ghb_queue_row_set_destination(self, g_value_get_string(value));
164 break;
165
166 case PROP_STATUS:
167 ghb_queue_row_set_status(self, g_value_get_int(value));
168 break;
169
170 case PROP_PROGRESS:
171 ghb_queue_row_set_progress(self, g_value_get_double(value));
172 break;
173
174 default:
175 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
176 }
177}
178
179static void
180ghb_queue_row_init (GhbQueueRow *self)

Callers

nothing calls this directly

Calls 3

ghb_queue_row_set_statusFunction · 0.85

Tested by

no test coverage detected