Printers: Remove some warnings
Properly initialize a GValue with G_VALUE_INIT. Remove unused code.
This commit is contained in:
parent
b0288811dd
commit
7aae99aea9
2 changed files with 1 additions and 9 deletions
|
@ -1755,7 +1755,7 @@ supply_levels_draw_cb (GtkWidget *widget,
|
|||
GdkRGBA border_color = {0.0, 0.0, 0.0, 1.0};
|
||||
GSList *markers = NULL;
|
||||
GSList *tmp_list = NULL;
|
||||
GValue int_val = {0};
|
||||
GValue int_val = G_VALUE_INIT;
|
||||
gchar **marker_levelsv = NULL;
|
||||
gchar **marker_colorsv = NULL;
|
||||
gchar **marker_namesv = NULL;
|
||||
|
|
|
@ -1485,14 +1485,6 @@ populate_device_types_list (PpNewPrinterDialog *pp)
|
|||
gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
|
||||
}
|
||||
|
||||
static void
|
||||
dialog_closed (GtkWidget *dialog,
|
||||
gint response_id,
|
||||
PpNewPrinterDialog *pp)
|
||||
{
|
||||
gtk_widget_destroy (dialog);
|
||||
}
|
||||
|
||||
static GList *
|
||||
glist_uniq (GList *list)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue