Skip to content

Commit 52549d2

Browse files
Copilotapss-pohl
andcommitted
Fix variable naming in GtkToolItem::set_tooltip_markup
Co-authored-by: apss-pohl <95089598+apss-pohl@users.noreply.github.com>
1 parent 3083459 commit 52549d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Gtk/GtkToolItem.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ void GtkToolItem_::set_tooltip_markup(Php::Parameters &parameters)
7070
error_msg += " given";
7171
throw Php::Exception(error_msg);
7272
}
73-
std::string s_text = parameters[0];
74-
gchar *text = (gchar *)s_text.c_str();
73+
std::string s_markup = parameters[0];
74+
gchar *markup = (gchar *)s_markup.c_str();
7575

76-
gtk_tool_item_set_tooltip_markup (GTK_TOOL_ITEM(instance), text);
76+
gtk_tool_item_set_tooltip_markup (GTK_TOOL_ITEM(instance), markup);
7777

7878
}
7979

0 commit comments

Comments
 (0)