Skip to content

Commit

Permalink
Revert patch 675, and correctly fix gtk assertion failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Monin committed May 5, 2008
1 parent 37193c2 commit 0a259dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ void layout_status_update_info(LayoutWindow *lw, const gchar *text)
image_osd_update(lw->image);
}

gtk_label_set_text(GTK_LABEL(lw->info_status), text);
if (lw->info_status) gtk_label_set_text(GTK_LABEL(lw->info_status), text);
g_free(buf);
}

Expand Down
2 changes: 1 addition & 1 deletion src/view_file_icon.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ static void tip_update(ViewFile *vf, IconData *id)
}

label = g_object_get_data(G_OBJECT(VFICON_INFO(vf, tip_window)), "tip_label");
if (label) gtk_label_set_text(GTK_LABEL(label), VFICON_INFO(vf, tip_id)->fd->name);
gtk_label_set_text(GTK_LABEL(label), VFICON_INFO(vf, tip_id)->fd->name);
}
}
else
Expand Down

0 comments on commit 0a259dd

Please sign in to comment.