qulogic/talkatu

d6cdd2767e47
Parents aaca17b37b3d
Children 6b7ad96b0eb5
Typo fix and a move to a g_clear_pointer
--- a/talkatu/talkatuview.c Sun Jul 14 22:52:00 2019 -0500
+++ b/talkatu/talkatuview.c Sun Jul 14 23:01:14 2019 -0500
@@ -236,7 +236,7 @@
priv->context_mark = gtk_text_buffer_create_mark(buffer, NULL, &start, TRUE);
/* check for the anchor tag, if we have it, add a signal handler to it */
- g_clear_pointer(&priv->tag_anchor, g_object_unref);
+ g_clear_object(&priv->tag_anchor);
priv->tag_anchor = gtk_text_tag_table_lookup(table, TALKATU_TAG_ANCHOR);
if(priv->tag_anchor != NULL) {
g_signal_connect(
@@ -459,7 +459,7 @@
priv->cursor_hand = gdk_cursor_new_from_name(gdk_display_get_default(), "pointer");
- /* tell the widest class that we support tooltips. This is used to show
+ /* tell the widget class that we support tooltips. This is used to show
* link targets, and probably other stuff at some point.
*/
gtk_widget_set_has_tooltip(GTK_WIDGET(view), TRUE);