[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: x_multiattrib.nw
User: pbernaud
Date: 05/02/24 17:13:05
Modified: . x_multiattrib.nw
Log:
Fixed gcc warnings at compilation of x_multiattrib.nw
Revision Changes Path
1.18 +4 -6 eda/geda/devel/gschem/noweb/x_multiattrib.nw
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_multiattrib.nw
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/x_multiattrib.nw,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- x_multiattrib.nw 22 Feb 2005 18:00:05 -0000 1.17
+++ x_multiattrib.nw 24 Feb 2005 22:13:05 -0000 1.18
@@ -249,11 +249,9 @@
GtkWidget *frame, *label, *scrolled_win, *treeview;
GtkWidget *table, *entry, *combo, *optionm, *button;
GtkTreeModel *store;
- GtkListStore *liststore;
GtkCellRenderer *renderer;
GtkTreeViewColumn *column;
GtkTreeSelection *selection;
- GtkTreeIter iter;
/* dialog initialization */
g_object_set (G_OBJECT (multiattrib),
@@ -960,6 +958,7 @@
case SHOW_VALUE: new_snv = SHOW_NAME_VALUE; break;
default:
g_assert_not_reached ();
+ new_snv = SHOW_NAME_VALUE;
}
/* actually modifies the attribute */
@@ -1040,6 +1039,7 @@
case SHOW_VALUE: new_snv = SHOW_NAME; break;
default:
g_assert_not_reached ();
+ new_snv = SHOW_NAME_VALUE;
}
/* actually modifies the attribute */
@@ -1077,7 +1077,7 @@
gtk_tree_view_get_selection (multiattrib->treeview),
&model, &iter)) {
/* nothing selected, nothing to do */
- return;
+ return FALSE;
}
gtk_tree_model_get (model, &iter,
@@ -1233,9 +1233,7 @@
gpointer user_data)
{
Multiattrib *multiattrib = (Multiattrib*)user_data;
- GtkTreeModel *model;
const gchar *name, *value;
- GtkTreeIter iter;
TOPLEVEL *toplevel;
OBJECT *object;
gboolean visible;