mirror of
https://github.com/ToshioCP/Gtk4-tutorial.git
synced 2025-01-12 20:03:28 +01:00
fixed typo on line 450 (lable -> label)
This commit is contained in:
parent
8d517e9b97
commit
23dcf2d266
1 changed files with 1 additions and 1 deletions
|
@ -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">"Hello."</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 can’t 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
|
||||
|
|
Loading…
Reference in a new issue