Commit 2b28e141 authored by Victor Ananjevsky's avatar Victor Ananjevsky

apply contributions from Dmitry Butskoy <buc@users.sourceforge.net>

parent a80c54f8
......@@ -205,7 +205,7 @@ create_layout (GtkWidget *dlg)
gtk_label_set_line_wrap (GTK_LABEL (text), TRUE);
gtk_label_set_selectable (GTK_LABEL (text), options.data.selectable_labels);
gtk_label_set_justify (GTK_LABEL (text), options.data.text_align);
gtk_widget_set_state_flags (text, GTK_STATE_NORMAL, FALSE);
gtk_widget_set_state_flags (text, GTK_STATE_FLAG_NORMAL, FALSE);
gtk_label_set_xalign (GTK_LABEL (text), options.data.text_align);
gtk_widget_set_can_focus (text, FALSE);
}
......
......@@ -1118,7 +1118,7 @@ set_orient (const gchar * option_name, const gchar * value, gpointer data, GErro
if (strncasecmp (value, "hor", 3) == 0)
options.paned_data.orient = GTK_ORIENTATION_HORIZONTAL;
else if (strncasecmp (value, "vert", 4) == 0)
options.print_data.type = GTK_ORIENTATION_VERTICAL;
options.paned_data.orient = GTK_ORIENTATION_VERTICAL;
else
g_printerr (_("Unknown orientation: %s\n"), value);
......
......@@ -198,7 +198,7 @@ update_preview (GtkFileChooser * chooser, GtkWidget *p)
gchar *smtime;
stat (file, &st);
smtime = g_strdup_printf ("%d", st.st_mtime);
smtime = g_strdup_printf ("%lu", st.st_mtime);
g_free (file);
/* save thumbnail */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment