[libgda/LIBGDA_5.0] Misc corrections
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_5.0] Misc corrections
- Date: Wed, 25 Apr 2012 20:33:05 +0000 (UTC)
commit 01049cf57b12714de8d962c8f68a8042745f978b
Author: Vivien Malerba <malerba gnome-db org>
Date: Mon Apr 16 18:52:54 2012 +0200
Misc corrections
.../plugins/gdaui-data-cell-renderer-pict.c | 3 +--
libgda-ui/demos/ddl_queries.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
index 87caaab..150410d 100644
--- a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
+++ b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
@@ -412,8 +412,7 @@ gdaui_data_cell_renderer_pict_render (GtkCellRenderer *cell,
gdouble y = cell_area->y + cell_area->height / 2.;
gtk_render_line (style_context,
cr,
- cell_area->x + xpad, cell_area->x + cell_area->width - xpad,
- y, y);
+ cell_area->x + xpad, y, cell_area->x + cell_area->width - xpad, y);
}
if (datacell->priv->invalid)
gdaui_data_cell_renderer_draw_invalid_area (cr, cell_area);
diff --git a/libgda-ui/demos/ddl_queries.c b/libgda-ui/demos/ddl_queries.c
index fcd6c24..3d70413 100644
--- a/libgda-ui/demos/ddl_queries.c
+++ b/libgda-ui/demos/ddl_queries.c
@@ -477,7 +477,7 @@ show_sql (G_GNUC_UNUSED GtkButton *button, DemoData *data)
dlg = gtk_message_dialog_new_with_markup (GTK_WINDOW (data->top_window),
GTK_DIALOG_MODAL,
- msg_type, GTK_BUTTONS_CLOSE, "%s", msg);
+ msg_type, GTK_BUTTONS_CLOSE, msg);
g_free (sql);
g_free (msg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]