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

Function ghb_button_set_property

gtk/src/ghb-button.c:116–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116static void
117ghb_button_set_property (GObject *object, guint prop_id,
118 const GValue *value, GParamSpec *pspec)
119{
120 GhbButton *self = GHB_BUTTON (object);
121 g_return_if_fail(GHB_IS_BUTTON(self));
122
123 switch (prop_id)
124 {
125 case PROP_LABEL:
126 ghb_button_set_label(self, g_value_get_string(value));
127 break;
128
129 case PROP_ICON_NAME:
130 ghb_button_set_icon_name(self, g_value_get_string(value));
131 break;
132
133 case PROP_INDICATOR:
134 ghb_button_set_indicator_label(self, g_value_get_string(value));
135 break;
136
137 case PROP_ORIENTATION:
138 ghb_button_set_orientation(self, g_value_get_enum(value));
139 break;
140
141 default:
142 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
143 }
144}
145
146static void
147ghb_button_init (GhbButton *self)

Callers

nothing calls this directly

Calls 4

ghb_button_set_labelFunction · 0.85
ghb_button_set_icon_nameFunction · 0.85

Tested by

no test coverage detected