fixed typo on line 450 (lable -> label)

This commit is contained in:
Titan Jamison 2023-03-18 16:46:25 -07:00
parent 8d517e9b97
commit 23dcf2d266

View file

@ -447,7 +447,7 @@ class="sourceCode numberSource C numberLines"><code class="sourceCode c"><span i
<span id="cb9-8"><a href="#cb9-8"></a> <span class="cf">else</span></span>
<span id="cb9-9"><a href="#cb9-9"></a> gtk_button_set_label <span class="op">(</span>btn<span class="op">,</span> <span class="st">&quot;Hello.&quot;</span><span class="op">);</span></span>
<span id="cb9-10"><a href="#cb9-10"></a><span class="op">}</span></span></code></pre></div>
<p>The function <code>gtk_button_get_lable</code> returns a text from
<p>The function <code>gtk_button_get_label</code> returns a text from
the label. The string is owned by the button and you cant modify or
free it. The <code>const</code> qualifier is necessary for the string
<code>s</code>. If you change the string, your compiler will give you a