[Spice-devel] [PATCH spice-gtk 1/2] Rename a function

Alon Levy alevy at redhat.com
Wed May 25 02:39:21 PDT 2011


On Wed, May 25, 2011 at 12:08:47AM +0300, Zeeshan Ali (Khattak) wrote:
> This should be squashed into commit 27df918.

If you are talking about a public git tree (i.e. gitorious) then squashing
is a bad idea, it changes history for anyone that cloned that tree before.

> ---
>  gtk/spicy.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gtk/spicy.c b/gtk/spicy.c
> index cc30d54..7b51216 100644
> --- a/gtk/spicy.c
> +++ b/gtk/spicy.c
> @@ -152,7 +152,7 @@ static struct {
>  };
>  
>  #ifndef WIN32
> -static void recent_item_activated_dialog_cb(GtkRecentChooser *chooser, gpointer data)
> +static void recent_selection_changed_dialog_cb(GtkRecentChooser *chooser, gpointer data)
>  {
>      GtkRecentInfo *info;
>      gchar *txt = NULL;
> @@ -237,7 +237,7 @@ static int connect_dialog(SpiceSession *session)
>      gtk_recent_chooser_set_filter(GTK_RECENT_CHOOSER(recent), rfilter);
>      gtk_recent_chooser_set_local_only(GTK_RECENT_CHOOSER(recent), FALSE);
>      g_signal_connect(recent, "selection-changed",
> -                     G_CALLBACK(recent_item_activated_dialog_cb), session);
> +                     G_CALLBACK(recent_selection_changed_dialog_cb), session);
>  #endif
>      /* show and wait for response */
>      gtk_widget_show_all(dialog);
> -- 
> 1.7.5.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list