Changeset 2298


Ignore:
Timestamp:
Jul 6, 2007, 4:25:24 PM (15 years ago)
Author:
charles
Message:

build fixes for gcc 2.x. thanks to fizz for reporting and providing a patch.

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/msgwin.c

    r2208 r2298  
    4545get_or_create_tag (GtkTextTagTable * table, const char * key)
    4646{
     47  GtkTextTag * tag;
     48
    4749  g_assert (table);
    4850  g_assert (key && *key);
    4951
    50   GtkTextTag * tag = gtk_text_tag_table_lookup (table, key);
     52  tag = gtk_text_tag_table_lookup (table, key);
    5153  if (!tag) {
    5254    tag = gtk_text_tag_new (key);
  • trunk/gtk/util.c

    r2208 r2298  
    444444}
    445445
     446typedef void (PopupFunc)(GtkWidget*, GdkEventButton*);
     447
    446448/* pop up the context menu if a user right-clicks.
    447449   if the row they right-click on isn't selected, select it. */
     450
    448451gboolean
    449452on_tree_view_button_pressed (GtkWidget       * view,
     
    470473    }
    471474   
    472     typedef void (PopupFunc)(GtkWidget*, GdkEventButton*);
    473475    ((PopupFunc*)func)(view, event);
    474476
Note: See TracChangeset for help on using the changeset viewer.