]> Pileus Git - ~andy/gtk/commitdiff
Add a missing cat. (#141070, Chris Sherlock)
authorMatthias Clasen <mclasen@redhat.com>
Thu, 29 Apr 2004 14:12:20 +0000 (14:12 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 29 Apr 2004 14:12:20 +0000 (14:12 +0000)
2004-04-29  Matthias Clasen  <mclasen@redhat.com>

* tests/testentrycompletion.c (main): Add a missing
cat.  (#141070, Chris Sherlock)

* gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
variable.  (#141022, Chris Sherlock)

* gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
cast.  (#141013, Chris Sherlock)

* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
unused variable.  (#141011, Chris Sherlock)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkcellview.c
gtk/gtkcombo.c
gtk/gtkrc.c
tests/testentrycompletion.c

index fd6136f34e7df1174e85271dceb1b42d18c755fc..c2f0d1179825c6e405cd1189b7a78653b35b794e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2004-04-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/testentrycompletion.c (main): Add a missing 
+       cat.  (#141070, Chris Sherlock)  
+
+       * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
+       variable.  (#141022, Chris Sherlock)
+       
+       * gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
+       cast.  (#141013, Chris Sherlock)
+
+       * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
+       unused variable.  (#141011, Chris Sherlock)
+
 2004-04-29  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
index fd6136f34e7df1174e85271dceb1b42d18c755fc..c2f0d1179825c6e405cd1189b7a78653b35b794e 100644 (file)
@@ -1,3 +1,17 @@
+2004-04-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/testentrycompletion.c (main): Add a missing 
+       cat.  (#141070, Chris Sherlock)  
+
+       * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
+       variable.  (#141022, Chris Sherlock)
+       
+       * gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
+       cast.  (#141013, Chris Sherlock)
+
+       * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
+       unused variable.  (#141011, Chris Sherlock)
+
 2004-04-29  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
index fd6136f34e7df1174e85271dceb1b42d18c755fc..c2f0d1179825c6e405cd1189b7a78653b35b794e 100644 (file)
@@ -1,3 +1,17 @@
+2004-04-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/testentrycompletion.c (main): Add a missing 
+       cat.  (#141070, Chris Sherlock)  
+
+       * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
+       variable.  (#141022, Chris Sherlock)
+       
+       * gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
+       cast.  (#141013, Chris Sherlock)
+
+       * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
+       unused variable.  (#141011, Chris Sherlock)
+
 2004-04-29  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
index fd6136f34e7df1174e85271dceb1b42d18c755fc..c2f0d1179825c6e405cd1189b7a78653b35b794e 100644 (file)
@@ -1,3 +1,17 @@
+2004-04-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/testentrycompletion.c (main): Add a missing 
+       cat.  (#141070, Chris Sherlock)  
+
+       * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
+       variable.  (#141022, Chris Sherlock)
+       
+       * gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
+       cast.  (#141013, Chris Sherlock)
+
+       * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
+       unused variable.  (#141011, Chris Sherlock)
+
 2004-04-29  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
index fd6136f34e7df1174e85271dceb1b42d18c755fc..c2f0d1179825c6e405cd1189b7a78653b35b794e 100644 (file)
@@ -1,3 +1,17 @@
+2004-04-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/testentrycompletion.c (main): Add a missing 
+       cat.  (#141070, Chris Sherlock)  
+
+       * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
+       variable.  (#141022, Chris Sherlock)
+       
+       * gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
+       cast.  (#141013, Chris Sherlock)
+
+       * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
+       unused variable.  (#141011, Chris Sherlock)
+
 2004-04-29  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
index 8ca33fd9989277cc05bc93693b8f7b0d81e071ae..84dc2e7fdcd8051fb2fc096993cd5aae0450821c 100644 (file)
@@ -640,7 +640,6 @@ gtk_cell_view_cell_layout_add_attribute (GtkCellLayout   *layout,
 static void
 gtk_cell_view_cell_layout_clear (GtkCellLayout *layout)
 {
-  GList *i;
   GtkCellView *cellview = GTK_CELL_VIEW (layout);
 
   g_return_if_fail (GTK_IS_CELL_VIEW (cellview));
index 045f2d578822ee524087d8774dbb5cff0bb0cc9b..a0fe38c74b3d0402aa6ec0be1dcfae38bc05c84e 100644 (file)
@@ -514,7 +514,7 @@ gtk_combo_get_pos (GtkCombo * combo, gint * x, gint * y, gint * height, gint * w
 }
 
 static void
-gtk_combo_popup_list (GtkCombo * combo)
+gtk_combo_popup_list (GtkCombo *combo)
 {
   GtkWidget *toplevel;
   GtkList *list;
@@ -556,7 +556,7 @@ gtk_combo_popup_list (GtkCombo * combo)
   
   gtk_window_move (GTK_WINDOW (combo->popwin), x, y);
 
-  toplevel = gtk_widget_get_toplevel (combo);
+  toplevel = gtk_widget_get_toplevel (GTK_WIDGET (combo));
 
   if (GTK_IS_WINDOW (toplevel))
     {
index 5466b0ee3c4ba4024b13fb50c31b20ba01b917ce..25cbd009b22b68726474bb57286648edd44b209b 100644 (file)
@@ -2967,10 +2967,10 @@ gtk_rc_parse_bg_pixmap (GtkRcContext *context,
 }
 
 static gchar*
-gtk_rc_check_pixmap_dir (const gchar *dir, const gchar *pixmap_file)
+gtk_rc_check_pixmap_dir (const gchar *dir, 
+                        const gchar *pixmap_file)
 {
   gchar *buf;
-  gint fd;
 
   buf = g_build_filename (dir, pixmap_file, NULL);
 
index 0a07be9aa8c6264a12284304985c205001a99083..c894b90413a1e0466cefdf28d017968e9c86d430 100644 (file)
@@ -243,6 +243,7 @@ main (int argc, char *argv[])
   gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
   
   label = gtk_label_new (NULL);
+
   gtk_label_set_markup (GTK_LABEL (label), "Completion demo, try writing <b>total</b> or <b>gnome</b> for example.");
   gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 
@@ -311,7 +312,7 @@ main (int argc, char *argv[])
   g_object_unref (completion);
   
   /* Create a tree model and use it as the completion model */
-  completion_model = gtk_list_store_new (1, G_TYPE_STRING);
+  completion_model = GTK_TREE_MODEL (gtk_list_store_new (1, G_TYPE_STRING));
 
   gtk_entry_completion_set_model (completion, completion_model);
   g_object_unref (completion_model);