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

Function ghb_file_button_set_property

gtk/src/ghb-file-button.c:119–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119static void
120ghb_file_button_set_property (GObject *object, guint prop_id,
121 const GValue *value, GParamSpec *pspec)
122{
123 GhbFileButton *self = GHB_FILE_BUTTON(object);
124 g_return_if_fail(GHB_IS_FILE_BUTTON(self));
125
126 switch (prop_id)
127 {
128 case PROP_TITLE:
129 ghb_file_button_set_title(self, g_value_get_string(value));
130 break;
131
132 case PROP_ACCEPT_LABEL:
133 ghb_file_button_set_accept_label(self, g_value_get_string(value));
134 break;
135
136 case PROP_FILE:
137 ghb_file_button_set_filename(self, g_value_get_string(value));
138 break;
139
140 case PROP_ACTION:
141 ghb_file_button_set_action(self, g_value_get_enum(value));
142 break;
143
144 default:
145 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
146 }
147}
148
149static void
150ghb_file_button_init (GhbFileButton *self)

Callers

nothing calls this directly

Tested by

no test coverage detected