[easytag] Remove unused et_grid_attach_full()
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Remove unused et_grid_attach_full()
- Date: Sat, 25 Oct 2014 22:48:34 +0000 (UTC)
commit 748723d36283ef2c0920b1277095157996caa166
Author: David King <amigadave amigadave com>
Date: Sat Oct 25 23:46:58 2014 +0100
Remove unused et_grid_attach_full()
src/misc.c | 29 -----------------------------
src/misc.h | 4 ----
2 files changed, 0 insertions(+), 33 deletions(-)
---
diff --git a/src/misc.c b/src/misc.c
index 2f0f05f..7ac2f68 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -578,32 +578,3 @@ et_on_child_exited (GPid pid, gint status, gpointer user_data)
{
g_spawn_close_pid (pid);
}
-
-void
-et_grid_attach_full (GtkGrid *grid,
- GtkWidget *child,
- gint left_attach,
- gint top_attach,
- gint width,
- gint height,
- gboolean hexpand,
- gboolean vexpand,
- gint hmargin,
- gint vmargin)
-{
- g_object_set (G_OBJECT(child),
- "hexpand", hexpand,
- "vexpand", vexpand,
-#if GTK_CHECK_VERSION (3, 12, 0)
- "margin-start", hmargin,
- "margin-end", hmargin,
-#else
- "margin-left", hmargin,
- "margin-right", hmargin,
-#endif
- "margin-top", vmargin,
- "margin-bottom", vmargin,
- NULL);
-
- gtk_grid_attach (grid, child, left_attach, top_attach, width, height);
-}
diff --git a/src/misc.h b/src/misc.h
index ddb2971..6a21b0c 100644
--- a/src/misc.h
+++ b/src/misc.h
@@ -67,10 +67,6 @@ gchar * et_track_number_to_string (const guint track_number);
void et_on_child_exited (GPid pid, gint status, gpointer user_data);
-void et_grid_attach_full (GtkGrid *grid, GtkWidget *child, gint left, gint top,
- gint width, gint height, gboolean hexpand,
- gboolean vexpand, gint hmargin, gint vmargin);
-
G_END_DECLS
#endif /* __MISC_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]