| 151 | } |
| 152 | |
| 153 | static void |
| 154 | ghb_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 | |
| 179 | static void |
| 180 | ghb_queue_row_init (GhbQueueRow *self) |
nothing calls this directly
no test coverage detected